在google compute上安装pandas

时间:2017-04-13 02:04:32

标签: python pandas google-compute-engine

我尝试使用

在Linux google compute上安装pandas
sudo pip install pandas

但收到了一些错误。

我发现了this helpful link

我得:

python setup.py build_ext --inplace

但回去:

Exception: Cython-generated file 'pandas/_libs/period.c' not found.
                Cython is required to compile pandas from a development branch.
                Please install Cython or download a release package of pandas.

关掉这个issue我跑了:

python ci/print_versions.py

然后回来:

INSTALLED VERSIONS
------------------
commit: 7b8a6b1bc22f6fc0023c02ac8301e07b4ab80417
python: 2.7.9.final.0
python-bits: 64
OS: Linux
OS-release: 3.16.0-4-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: None.None

pandas: None
pytest: None
pip: 1.5.6
setuptools: 5.5.1
Cython: 0.21.1
numpy: 1.8.2
scipy: None
xarray: None
IPython: None
sphinx: None
patsy: None
dateutil: None
pytz: None
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
pandas_gbq: None
pandas_datareader: None

这表明大熊猫实际上看到了我的Cython。

有人能在这里说清楚吗?

这是一个微型谷歌计算引擎远程linux。

谢谢!

0 个答案:

没有答案