google-colaboratory - 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.
解决方案
推荐阅读
- charts - 具有重复 x 轴的实时数据图表
- sql - 在更新该选择的字段时插入选择
- javascript - 在 c# 中使用 javascript 数组填充剃刀表
- ios - 如何在拆分视图的详细信息区域限制MessageKit的输入栏
- grails - Grails 升级 - 1.3.7 到 2.4.1 以兼容 Java 1.8。如何在类路径中添加自定义 jar
- flyway - 是否 Flyway 工具支持 Oracle E-Business Suite 中的 .rdf、.rtf、.xml、.pks、.pkb 等扩展名 --> 财务管理
- javascript - 从 jQuery 运行 PHP 脚本,然后提交表单
- node.js - 直接使用 chromedriver 运行 webdriver.io,而不是使用 selenium 服务器
- php - 登录后,如何在 laravel 中使用 ajax post 请求?
- apache - odoo 11 在端口 8069 上被谷歌索引