Skip to content

Circular import errors #63

@BobbyLangan

Description

@BobbyLangan

Hello! I was able to install IgFold from git using the git clone command, and install it and its requirements into my conda environment. However, igfold does not import and is throwing an error about circular imports. This error occurs when installing through pip itself (separate from downloading the git repo). For error see below

Traceback (most recent call last):
  File "/Users/bobbylangan/projects/rlangan-scripts/project_folder/igfold.py", line 1, in <module>
    from igfold import IgFoldRunner
  File "/Users/bobbylangan/projects/rlangan-scripts/project_folder/igfold.py", line 1, in <module>
    from igfold import IgFoldRunner
ImportError: cannot import name 'IgFoldRunner' from partially initialized module 'igfold' (most likely due to a circular import) (/Users/bobbylangan/projects/rlangan-scripts/project_folder/igfold.py)

I am running using the copy/pasted code from the README.md. I was also unable to run through CoLab receiving the same error as Issue #57 (which is also an import error). I was unable to locate the error in my cursory search, is there an earlier branch or tag that you know works we could use in the meantime?

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