Closed GilgameshD closed 1 year ago
Hi I got one error when I run example.py:
ImportError: cannot import name 'Attribute' from 'attr'
I run pip install attr when it says cannot find attr, but I am not sure if I installed the correct package. Thanks.
pip install attr
attr
UPDATE: I change attr to attrs in procthor/procthor/generation/__init__.py then it works. It seems that the package attrs is the package we need.
attrs
procthor/procthor/generation/__init__.py
Hi I got one error when I run example.py:
ImportError: cannot import name 'Attribute' from 'attr'
I run
pip install attr
when it says cannot findattr
, but I am not sure if I installed the correct package. Thanks.