AF_Cluster
AF_Cluster copied to clipboard
import error in AF_cluster colab notebook
Hi,
while executing the colab notebook following error is coming
ImportError: cannot import name 'SCOPData' from 'Bio.Data' (/usr/local/lib/python3.10/dist-packages/Bio/Data/init.py)
could you help me out why it cannot import SCOPData in colab notebook.
ImportError Traceback (most recent call last)
2 frames
/content/alphafold/alphafold/data/mmcif_parsing.py in
ImportError: cannot import name 'SCOPData' from 'Bio.Data' (/usr/local/lib/python3.10/dist-packages/Bio/Data/init.py)
Thank you Best Naveen
Hi @palvinaveen the package is depreciated, but I was able to solve this by uninstalling biopython and reinstalling an older version. I made two cells.
First:
!pip uninstall biopython
Next:
!pip install http://biopython.org/DIST/biopython-1.81.tar.gz
Restart the runtime when prompted and then the cell should run!
I did the same with older version of biopython==1.78, and now is working.