0

我通过 anaconda 安装了 pandas,它似乎可以工作。但是,当我想导入 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

但是当我导入熊猫时,我又遇到了同样的错误。

任何人都可以帮忙吗?我做错了什么?

提前致谢

莱尼

4

0 回答 0