Import-LIB-KiCad-Plugin icon indicating copy to clipboard operation
Import-LIB-KiCad-Plugin copied to clipboard

Error: No module named 'pydantic'

Open Alviunta opened this issue 6 months ago • 7 comments

I have an error using the import functions of "LCSC Part#". When I try to run it with a part number, I get an error message "Error: No module named 'pydantic'". I tried to install pydantic using: "pip install pydantic" and "pip3 install pydantic". However, after installing it I get the error message:

"Error: cannot import name 'Self' from 'typing_extensions' (/usr/lib/python3/dist-packages/typing_extensions.py)
Python version 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0]"

When I run "pyp list" I get:

$ pip3 list | grep typing
typing 3.7.4.3
typing_extensions 4.12.2

I completed the installation process indicated in the README, all the other functions work fine except this one. Could you tell me if there is something I am missing or any kind of help you can give me? If you need more information I can send it to you. Thanks

Alviunta avatar Aug 20 '24 17:08 Alviunta