I'm trying to install NVIDIA Rapids on Google Colab's Tesla P-100CE using the below provided by NVIDIA.
# Installing RAPIDS API.
# NOTE : This may take some few minutes to install.
!git clone https://github.com/rapidsai/rapidsai-csp-utils.git
!bash rapidsai-csp-utils/colab/rapids-colab.sh stable
import sys, os
dist_package_index = sys.path.index('/usr/local/lib/python3.6/dist-packages')
sys.path = sys.path[:dist_package_index] + ['/usr/local/lib/python3.6/site-packages'] + sys.path[dist_package_index:]
sys.path
exec(open('rapidsai-csp-utils/colab/update_modules.py').read(), globals())
After this gets executed I get an error like below :
************************************************
Your Google Colab instance has RAPIDS installed!
************************************************
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-2-bdfa5194a5f0> in <module>()
5 import sys, os
6
----> 7 dist_package_index = sys.path.index('/usr/local/lib/python3.6/dist-packages')
8 sys.path = sys.path[:dist_package_index] + ['/usr/local/lib/python3.6/site-packages'] + sys.path[dist_package_index:]
9 sys.path
ValueError: '/usr/local/lib/python3.6/dist-packages' is not in list
Has anybody faced this error in Google Colab ? How can this issue be resolved ? Any help here is appreciated.
Thanks