Answers for "how to permantely install library in collab"

0

how to permantely install library in collab

import os, sys
from google.colab import drive
drive.mount('/content/drive')
nb_path = '/content/notebooks'
os.symlink('/content/drive/My Drive/Colab Notebooks', nb_path)
sys.path.insert(0,nb_path)

#Then you can install a library, for example, jdc, and specify the target.

!pip install --target=$nb_path jdc
Posted by: Guest on December-31-2020

Code answers related to "how to permantely install library in collab"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language