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

error with af2_binder_design.yml - ImportError: cannot import name 'SCOPData' from 'Bio.Data - wrong version of biopython #72

Open
drewschaub opened this issue Feb 20, 2024 · 1 comment

Comments

@drewschaub
Copy link

drewschaub commented Feb 20, 2024

As of 19 Feb 2024, af2_binder_design.yml will install biopython 1.83, resulting in the following error during test ImportError: cannot import name 'SCOPData' from 'Bio.Data' (~/.conda/envs/af2_binder_design/lib/python3.11/site-packages/Bio/Data/__init__.py)

Downgraded to biopython==1.81 from biopython==18.3 and this resolved the issue and resulted in Found a GPU! This environment passes all import tests. `'Bio.Data.SCOPData' module was be deprecated in 1.83

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Wed_Nov_22_10:17:15_PST_2023
Cuda compilation tools, release 12.3, V12.3.107
Build cuda_12.3.r12.3/compiler.33567101_0
@AIM132
Copy link

AIM132 commented May 9, 2024

Thanks, it worked

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

2 participants