Skip to content

Can't import package? #57

@skandermoalla

Description

@skandermoalla

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions