PyRosetta is being tested one by one in Google Collaboration. "01.02-PyRosetta-Google-Drive-Usage-Example.ipynb"
When I checked the file above while running it on Google Collabor, I got an error as below.
The previous 01.01 went well without errors, but the error comes out as below.
(version is PyRosetta4.MinSizeRel.python37.linux.release-332.tar. )
Please look down and give me your opinion.
- OS type : Windows
- OS version : 10
- OS arch (32 or 64bit) : 64bit
- Python version : 3.7
- Python arch (32 or 64bit) if different from OS
# Notebook setup
import sys
if 'google.colab' in sys.modules:
!pip install pyrosettacolabsetup
import pyrosettacolabsetup
pyrosettacolabsetup.setup()
print ("Notebook is set for PyRosetta use in Colab. Have fun!")
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting pyrosettacolabsetup Downloading pyrosettacolabsetup-1.0.6-py3-none-any.whl (4.7 kB) Installing collected packages: pyrosettacolabsetup Successfully installed pyrosettacolabsetup-1.0.6
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-2-dcbe4bc00f39> in <module> 4 get_ipython().system('pip install pyrosettacolabsetup') 5 import pyrosettacolabsetup ----> 6 pyrosettacolabsetup.setup() 7 print ("Notebook is set for PyRosetta use in Colab. Have fun!")
AttributeError: module 'pyrosettacolabsetup' has no attribute 'setup'
The correct way is:
Thanks for your comment!
I solved problem. ;)