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 import package? #57

Open
skandermoalla opened this issue Nov 21, 2024 · 0 comments
Open

Can't import package? #57

skandermoalla opened this issue Nov 21, 2024 · 0 comments

Comments

@skandermoalla
Copy link

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?

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

1 participant