-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: No module named 'pydantic' #23
Comments
I had the problem myself and it is more or less due to the fact that a necessary feature only comes with python 3.12. But it also works with python 3.10. But it also works with python 3.10. Are you on Linux? Try the following: and otherwise |
Yes, I'm using Ubuntu 22.04.4 LTS. I also looked at https://github.com/uPesy/easyeda2kicad.py/blob/master/requirements.txt and it says that I should use at least pydantic 2.0.0. So I tried to force this version (
|
Got this error ( So running Thanks @Steffen-W for this very helpful tool! |
Hi @sbalula, |
Thanks for this tip, this did work for me on windows too. |
A few days ago I installed KiCad 8.05 on Windows 11 Pro, 24H2, build. 26120.1542 As I am migrating from EasyEDA PRO I am in need to import Symbols and Footprints. to KiCad. Thank you @Steffen-W for this very convenient and useful tool, and to JoHo94 for sharing his finding. |
I speculate that a changeover to Python 3.12 will take place at some point, then the problem will no longer exist. Do any of you have an idea how I could solve the problem within the plugin? |
I am on Mac OSX 15 with M2, Kicad 8.05 and had to change the command to Many thanks for the hint. |
I got KiCAD installed using Flatpak and this worked for me: Steps to Install 'pydantic' in KiCad's Flatpak Environment:
|
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:
When I run "pyp list" I get:
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
The text was updated successfully, but these errors were encountered: