openfold icon indicating copy to clipboard operation
openfold copied to clipboard

Unable to load openfold packages

Open Lucie02Rose opened this issue 1 year ago • 3 comments

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)

Lucie02Rose avatar Mar 08 '24 13:03 Lucie02Rose

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

hungd238 avatar Mar 12 '24 22:03 hungd238

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)

jnwei avatar Mar 13 '24 08:03 jnwei

It seems that the PyPi package is 0.0.1 and also uses torch as a build dependency, which might be connected to this issue.

jbenjoseph avatar Jun 03 '24 08:06 jbenjoseph