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

Failing to run Openfold when providing protein sequence (using Docker image) #193

Closed
mikael-h-christensen opened this issue Mar 5, 2024 · 0 comments

Comments

@mikael-h-christensen
Copy link

Hi,

Using an docker image built from the provided Dockerfile in your repo, I get the following error when trying to run the latest DiffDock starting from a protein sequence.

  File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/site-packages/openfold/utils/__init__.py", line 13, in <listcomp>
    _modules = [(m, importlib.import_module("." + m, __name__)) for m in __all__]
  File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/home/appuser/micromamba/envs/diffdock/lib/python3.9/site-packages/openfold/utils/seed.py", line 5, in <module>
    from pytorch_lightning.utilities.seed import seed_everything
ImportError: cannot import name 'seed_everything' from 'pytorch_lightning.utilities.seed' (/home/appuser/micromamba/envs/diffdock/lib/python3.9/site-packages/pytorch_lightning/utilities/seed.py)

The installed pytorch_lightning version in the docker image is 2.2.0.post0, while I think the last version to support 'seed_everything' is 1.9.4 (or 1.9.5)

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