nrbennet / dl_binder_design

MIT License
203 stars 49 forks source link

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

Open drewschaub opened 6 months ago

drewschaub commented 6 months ago

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 commented 4 months ago

Thanks, it worked