📜  如何在协作中永久安装库 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:26.538000             🧑  作者: Mango

代码示例1
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