allenai / procthor

🏘️ Scaling Embodied AI by Procedurally Generating Interactive 3D Houses
https://procthor.allenai.org/
Apache License 2.0
241 stars 20 forks source link

import error when run example.py #29

Closed GilgameshD closed 1 year ago

GilgameshD commented 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.

GilgameshD commented 1 year ago

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.