我正在尝试在Raspi上安装Python Pandas,但发现了奇怪的错误。
~ $ pip install pandas
Downloading/unpacking pandas
Downloading pandas-0.13.1.tar.gz (6.1Mb): 6.1Mb downloaded
Running setup.py egg_info for package pandas
warning: no files found matching 'README.rst'
no previously-included directories found matching 'doc/build'
warning: no previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '.DS_Store' found anywhere in distribution
warning: no previously-included files matching '*.png' found anywhere in distribution
....
pandas/src/klib/khash_python.h:13:1: warning: statement with no effect [-Wunused-value]
pandas/src/klib/khash_python.h: In function âkh_del_pymapâ:
pandas/src/klib/khash_python.h:38:1: warning: statement with no effect [-Wunused-value]
pandas/src/klib/khash_python.h: In function âkh_del_pysetâ:
pandas/src/klib/khash_python.h:44:1: warning: statement with no effect [-Wunused-value]
pandas/src/klib/khash_python.h: In function âkh_del_strboxâ:
pandas/src/klib/khash_python.h:49:1: warning: statement with no effect [-Wunused-value]
然后会出现更多错误警告。它实际上从不会失败,但也不会在半小时内完成。这是怎么回事,我该如何解决?
编辑添加
我尝试了sudo apt-get install python-pandas
安装的替代方法,pandas
但它只是版本0.8,而不是0.13。尝试跟进sudo pip install pandas --upgrade
可获得与上述相同的结果。
什么错误?以“警告”开头的行是警告,请忽略它们。
—
lenik 2014年
更令人担心的是安装没有完成。这仅仅是大量警告的开始。编辑以澄清。
—
杰米·布尔
您确定它坏了吗?Pandas依赖numpy,即使在非常快的台式机上,它也可能花费很长时间来构建。完成了吗?我正在考虑在Pi上的项目中使用熊猫,所以我很好奇您是否对此感到幸运或放弃了。
—
John Ewart 2014年
是的,它确实有效。建造过程花了很长时间,但最终实现了目标,此后一直运行良好。
—
Jamie Bull
现在我自己面对着完全相同的问题,@ JamieBull到底花了多长时间?
—
奔