导入Pandas的问题

时间:2016-05-03 13:00:48

标签: python python-2.7 pandas setup.py cextension

我通过anaconda安装了大熊猫,它似乎工作。但是,当我想导入pandas时,我收到以下错误:

C extension: hashtable not built.
If you want to import pandas from the source directory, you may need to run 
'python setup.py build_ext --inplace' to build the C extensions first.

我已经尝试过运行,但响应始终是:

python: can't open file 'setup.py': [Errno 2] No such file or directory

也许我在错误的目录中,但后来我不知道应该在哪个地方跑。我查看了site-packages,但无法找到大熊猫或类似的东西。

然后我通过pip

重新安装了pandas
git 'pip install git+git://github.com/pydata/pandas.git'

并在此期间说:

Running setup.py install for pandas ... done
Successfully installed pandas-0.18.0+207.gc6110e2

但是当我导入pandas时,我又犯了同样的错误。

有人可以帮忙吗?我做错了什么?

提前致谢

莱尼

0 个答案:

没有答案
相关问题