cair / deep-rts

A Real-Time-Strategy game for Deep Learning research
MIT License
205 stars 36 forks source link

Can't import package? #57

Open skandermoalla opened 1 week ago

skandermoalla commented 1 week ago

Installed successfully, then when trying to import I get

Traceback (most recent call last):
  File "/Users/moalla/mambaforge/envs/deep-rts/lib/python3.9/site-packages/DeepRTS/__init__.py", line 2, in <module>
    from DeepRTS import Engine
ImportError: cannot import name 'Engine' from partially initialized module 'DeepRTS' (most likely due to a circular import) (/Users/moalla/mambaforge/envs/deep-rts/lib/python3.9/site-packages/DeepRTS/__init__.py)

If I remove it from the init.py and try to import Engine or Player independently I get

ImportError: cannot import name 'Engine' from 'DeepRTS'
or 
ImportError: cannot import name 'Engine' from 'DeepRTS.python'

Any ideas?