如何在Google Colab中安装zipline

时间:2020-08-02 06:36:20

标签: python google-colaboratory helper zipline

我正在尝试使用python 3.5在google colab中安装zipline。 这是我得到的错误。

用于在Google colab中安装python 3.5

Sub RemindMe()
MsgBox "your time is up!"
End Sub

用于安装zipline。

!pip安装zipline

这是错误的屏幕截图

error screenshot

主要错误行是

!add-apt-repository ppa:deadsnakes/ppa
!apt-get update
!apt-get install python3.5
!apt-get install python3.5-dev

!wget https://bootstrap.pypa.io/get-pip.py && python3.5 get-pip.py
  
import sys

sys.path[2] = '/usr/lib/python35.zip'
sys.path[3] = '/usr/lib/python3.5'
sys.path[4] = '/usr/lib/python3.5/lib-dynload'
sys.path[5] = '/usr/local/lib/python3.5/dist-packages'
sys.path[7] ='/usr/local/lib/python3.5/dist-packages/IPython/extensions'

0 个答案:

没有答案