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

Unable to load openfold packages #416

Open
Lucie02Rose opened this issue Mar 8, 2024 · 2 comments
Open

Unable to load openfold packages #416

Lucie02Rose opened this issue Mar 8, 2024 · 2 comments

Comments

@Lucie02Rose
Copy link

Collecting openfold
Using cached openfold-0.0.1.tar.gz (164 kB)
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

ImportError Traceback (most recent call last)
in <cell line: 50>()
48 locale.getpreferredencoding = getpreferredencoding
49
---> 50 from openfold import config
51 from openfold.data import feature_pipeline
52 from openfold.data import parsers

ImportError: cannot import name 'config' from 'openfold' (unknown location)

@hungd238
Copy link

I ran into the same issue as this person today (4 days later). Do we have any fixes yet? Thank you very much.

@jnwei
Copy link
Collaborator

jnwei commented Mar 13, 2024

Hi, thanks for your interest in OpenFold.

It's hard to be certain without seeing your full environment, but based on the error message by OP, it looks like an older version of OpenFold is being used (v0.0.1). Please try again with a new environment and the most recent version of OpenFold (v2.0.0)

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

3 participants