ColabFold icon indicating copy to clipboard operation
ColabFold copied to clipboard

Normal notebook crashing on multimer run

Open gezmi opened this issue 3 years ago • 2 comments

Hi,

I was running a complex with the AlphaFold2.ipynb notebook (I only provided a sequence with : and a job name). This was the error I got when running the Run prediction cell:

RuntimeError                              Traceback (most recent call last)

RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd

---------------------------------------------------------------------------

ImportError                               Traceback (most recent call last)

<ipython-input-3-91283de158b2> in <module>()
      5 from colabfold.download import download_alphafold_params, default_data_dir
      6 from colabfold.utils import setup_logging
----> 7 from colabfold.batch import get_queries, run, set_model_type
      8 
      9 from colabfold.colabfold import plot_protein

9 frames

/usr/local/lib/python3.7/dist-packages/tensorflow/python/client/pywrap_tf_session.py in <module>()
     17 # pylint: disable=invalid-import-order,g-bad-import-order, wildcard-import, unused-import
     18 from tensorflow.python import pywrap_tensorflow
---> 19 from tensorflow.python.client._pywrap_tf_session import *
     20 from tensorflow.python.client._pywrap_tf_session import _TF_SetTarget
     21 from tensorflow.python.client._pywrap_tf_session import _TF_SetConfig

ImportError: SystemError: <built-in method __contains__ of dict object at 0x7fee7e3ef190> returned a result with an error set


---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

What could be the problem?

gezmi avatar Feb 02 '22 20:02 gezmi

This is the same issue as https://github.com/sokrypton/ColabFold/issues/154. I am investigating.

milot-mirdita avatar Feb 02 '22 20:02 milot-mirdita

The notebook should work again (you might have to do a colab factory reset under Runtime->Factory reset runtime first).

milot-mirdita avatar Feb 02 '22 20:02 milot-mirdita