首页 > 解决方案 > Cannot install Zipline to Colab

问题描述

Trying to install Pipeline to Colab

!pip install zipline

I receive the following message :

Collecting zipline Downloading https://files.pythonhosted.org/packages/42/9b/5a55c79ca66e1c3ed2d94155cb71eb033eaf96cea71b81eb0579610d489f/zipline-1.4.1.tar.gz (5.4MB) |████████████████████████████████| 5.4MB 7.6MB/s

Requirement already satisfied: pip>=7.1.0 in /usr/local/lib/python3.7/dist-packages (from zipline) (19.3.1)

Requirement already satisfied: setuptools>18.0 in /usr/local/lib/python3.7/dist-packages (from zipline) (56.0.0)

Collecting Logbook>=0.12.5 Downloading https://files.pythonhosted.org/packages/2f/d9/16ac346f7c0102835814cc9e5b684aaadea101560bb932a2403bd26b2320/Logbook-1.5.3.tar.gz (85kB) |████████████████████████████████| 92kB 8.4MB/s

Requirement already satisfied: click>=4.0.0 in /usr/local/lib/python3.7/dist-packages (from zipline) (7.1.2)

Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.7/dist-packages (from zipline) (1.15.0)

Collecting python-interface>=1.5.3 Downloading https://files.pythonhosted.org/packages/fc/e9/092908ad6587b2537ab19fd68cea2eae520321530f23c4b82af71a38b8a1/python-interface-1.6.1.tar.gz

Collecting multipledispatch>=0.6.0 Downloading https://files.pythonhosted.org/packages/89/79/429ecef45fd5e4504f7474d4c3c3c4668c267be3370e4c2fd33e61506833/multipledispatch-0.6.0-py3-none-any.whl

Requirement already satisfied: toolz>=0.8.2 in /usr/local/lib/python3.7/dist-packages (from zipline) (0.11.1)

Requirement already satisfied: numpy>=1.11.3 in /usr/local/lib/python3.7/dist-packages (from zipline) (1.19.5)

Collecting pandas<=0.22,>=0.18.1 Downloading https://files.pythonhosted.org/packages/08/01/803834bc8a4e708aedebb133095a88a4dad9f45bbaf5ad777d2bea543c7e/pandas-0.22.0.tar.gz (11.3MB) |████████████████████████████████| 11.3MB 14.8MB/s

Installing build dependencies ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-r459gvfm/overlay --no-warn-script-location -v --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- wheel setuptools Cython 'numpy==1.9.3; python_version=='"'"'3.5'"'"'' 'numpy==1.12.1; python_version=='"'"'3.6'"'"'' 'numpy==1.13.1; python_version>='"'"'3.7'"'"'' Check the logs for full command output.

标签: google-colaboratoryzipline

解决方案


推荐阅读