-
Notifications
You must be signed in to change notification settings - Fork 784
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
ImportError: cannot import name 'model' from 'alphafold3.model' (unknown location) #361
Comments
Is it possible you missed the Docker build step?
|
Hi, this
often occurs in containerized environments (like Singularity or Docker) when the code inside the container image is out of sync with the version being run, or if the installation within the image is incomplete. As noted in a similar discussion in issue #314, a frequent cause is updating the Alphafold3 source code after the Singularity image (.sif file) was originally built. Even if you have the latest run_alphafold.py outside, the container still uses the older internal code structure, causing the import to fail. The most probable solution is to rebuild your Singularity image (alphafold3new.sif) using the current/updated Alphafold3 source code. This ensures the environment inside the container matches the expected structure. |
@AnshBajwa13 @Augustin-Zidek |
Great to hear! |
Commnad I am using:
singularity exec --nv alphafold3new.sif python3 run_alphafold.py --input_dir='/home/achaudh6/Desktop/alphafold3/Faild_json' --model_dir='/home/achaudh6/Desktop/alphafold3' --output_dir='/home/achaudh6/Desktop/alphafold3/Failed_out' --db_dir='/home/achaudh6/Desktop/alphafold3/public_databases'
Getting errors
I have reinstalled Alphafold3 and tried again but it couldn't work. I also followed this #314
Could you please help me to fix this issue?
The text was updated successfully, but these errors were encountered: