Closed WenTao-tust closed 1 year ago
ModuleNotFoundError Traceback (most recent call last) /usr/local/lib/python3.7/site-packages/transformers/utils/import_utils.py in _get_module(self, module_name) 1092 try: -> 1093 return importlib.import_module("." + module_name, self.name) 1094 except Exception as e:
31 frames ModuleNotFoundError: No module named 'tokenizers.tokenizers'
The above exception was the direct cause of the following exception:
RuntimeError Traceback (most recent call last) /usr/local/lib/python3.7/site-packages/transformers/utils/import_utils.py in _get_module(self, module_name) 1093 return importlib.import_module("." + module_name, self.name) 1094 except Exception as e: -> 1095 raise RuntimeError( 1096 f"Failed to import {self.name}.{module_name} because of the following error (look up to see its" 1097 f" traceback):\n{e}"
RuntimeError: Failed to import transformers.models.auto because of the following error (look up to see its traceback): No module named 'tokenizers.tokenizers'
Hello, I'm wondering if it is an issue with dependency versions. Can you share some information about your local python environment? The output of pip list
would be helpful.
pip install IgFold Collecting IgFold Using cached igfold-0.2.2-py3-none-any.whl (34 kB) Collecting tokenizers>=0.11.6 Using cached tokenizers-0.13.2-cp39-cp39-win_amd64.whl (3.3 MB) Collecting IgFold Using cached igfold-0.2.1-py3-none-any.whl (34 kB) Using cached igfold-0.2.0-py3-none-any.whl (34 kB) Using cached igfold-0.1.5-py3-none-any.whl (31 kB) Using cached igfold-0.1.4-py3-none-any.whl (31 kB) Using cached igfold-0.1.3-py3-none-any.whl (31 kB) Using cached igfold-0.1.2-py3-none-any.whl (31 kB) Using cached igfold-0.1.1-py3-none-any.whl (31 kB) Using cached igfold-0.1.0-py3-none-any.whl (31 kB) Using cached igfold-0.0.8-py3-none-any.whl (30 kB) Using cached igfold-0.0.7-py3-none-any.whl (30 kB) Using cached igfold-0.0.6-py3-none-any.whl (29 kB) Using cached igfold-0.0.5-py3-none-any.whl (28 kB) Using cached igfold-0.0.4-py3-none-any.whl (28 kB) ERROR: Cannot install igfold==0.0.4, igfold==0.0.5, igfold==0.0.6, igfold==0.0.7, igfold==0.0.8, igfold==0.1.0, igfold==0.1.1, igfold==0.1.2, igfold==0.1.3, igfold==0.1.4, igfold==0.1.5, igfold==0.2.0, igfold==0.2.1 and igfold==0.2.2 because these package versions have conflicting dependencies.
The conflict is caused by: igfold 0.2.2 depends on pytorch3d igfold 0.2.1 depends on pytorch3d igfold 0.2.0 depends on pytorch3d igfold 0.1.5 depends on pytorch3d igfold 0.1.4 depends on pytorch3d igfold 0.1.3 depends on pytorch3d igfold 0.1.2 depends on pytorch3d igfold 0.1.1 depends on pytorch3d igfold 0.1.0 depends on pytorch3d igfold 0.0.8 depends on pytorch3d igfold 0.0.7 depends on pytorch3d igfold 0.0.6 depends on pytorch3d igfold 0.0.5 depends on pytorch3d igfold 0.0.4 depends on pytorch3d
To fix this you could try to:
Package Version
My main research direction is the preparation of monoclonal antibody, so I know little about computer program, and I am looking forward to your professional guidance.
I was unable to install IgFold on my computer after installing Anaconda following the installation steps you explained and have tried several times. Meanwhile,IgFold cannot run on Google Colab.