pandas pip安装熊猫错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26947529/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
pip install pandas error
提问by Hanzawa Naoki
Hi all i typed pip install pandasbut i kept getting this error.
大家好,我输入了pip install pandas但我一直收到这个错误。
Cleaning up...
Command C:\Python27\python.exe -c "import setuptools, tokenize;__file__='c:\use
rs\huihui\appdata\local\temp\pip_build_HuiHui\pandas\setup.py';exec(compi
le(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fil
e__, 'exec'))" install --record c:\users\huihui\appdata\local\temp\pip-ecokb6-re
cord\install-record.txt --single-version-externally-managed --compile failed wit
h error code 1 in c:\users\huihui\appdata\local\temp\pip_build_HuiHui\pandas
Storing debug log for failure in C:\Users\HuiHui\pip\pip.log
can anyone shed some light on this?
任何人都可以对此有所了解吗?
回答by Steve Barnes
pipwill try to install from source and I deduce from the C:that you are on windows - as such you probably don't have the compiler(s) needed to build pandas. You should download install the appropriate windows installer from https://pypi.python.org/pypi/pandasinstead.
pip将尝试从源代码安装,我从C:您在 Windows 上推断出- 因此您可能没有构建Pandas所需的编译器。您应该从https://pypi.python.org/pypi/pandas下载安装适当的 Windows 安装程序。

