Skip to content
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

can't run easyeda2kicad #91

Open
jcabdi opened this issue Aug 22, 2023 · 1 comment
Open

can't run easyeda2kicad #91

jcabdi opened this issue Aug 22, 2023 · 1 comment

Comments

@jcabdi
Copy link

jcabdi commented Aug 22, 2023

I'm in Ubuntu 20.04

jcabdi@jc-dell:~/Downloads/easyeda2kicad-0.6.3/easyeda2kicad$ easyeda2kicad
Traceback (most recent call last):
File "/home/jcabdi/.local/bin/easyeda2kicad", line 5, in
from easyeda2kicad.main import main
File "/home/jcabdi/.local/lib/python3.8/site-packages/easyeda2kicad/main.py", line 12, in
from easyeda2kicad.easyeda.easyeda_importer import (
File "/home/jcabdi/.local/lib/python3.8/site-packages/easyeda2kicad/easyeda/easyeda_importer.py", line 6, in
from easyeda2kicad.easyeda.parameters_easyeda import *
File "/home/jcabdi/.local/lib/python3.8/site-packages/easyeda2kicad/easyeda/parameters_easyeda.py", line 26, in
class EeSymbolPinSettings(BaseModel):
File "/home/jcabdi/.local/lib/python3.8/site-packages/pydantic/_internal/_model_construction.py", line 130, in new
cls.pydantic_decorators = DecoratorInfos.build(cls)
File "/home/jcabdi/.local/lib/python3.8/site-packages/pydantic/_internal/_decorators.py", line 441, in build
res.validators[var_name] = Decorator.build(
File "/home/jcabdi/.local/lib/python3.8/site-packages/pydantic/_internal/_decorators.py", line 249, in build
func = shim(func)
File "/home/jcabdi/.local/lib/python3.8/site-packages/pydantic/_internal/_decorators_v1.py", line 77, in make_generic_v1_field_validator
raise PydanticUserError(
pydantic.errors.PydanticUserError: The field and config parameters are not available in Pydantic V2, please use the info parameter instead.

For further information visit https://errors.pydantic.dev/2.2/u/validator-field-config-info

@JulioCalandrin
Copy link

JulioCalandrin commented Aug 30, 2023

Had the exact same error on Windows 11.
Edit: After uninstalling Pydantic V2 and Pydantic_core V2 I reinstalled the V1 via "pip install Pydantic==1.5". It worked after this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants