Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23276

Issue in Installing NVIDIA Rapids on Google Colab

$
0
0

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 stableimport sys, osdist_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.pathexec(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.pathValueError: '/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


Viewing all articles
Browse latest Browse all 23276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>