问题描述
pip install ggplot
我试图为Python安装ggplot,
但我收到一条错误消息,说
我在Windows8上使用Python2.7。我查看了建议,并尝试了其他建议
- pip安装轮子以安装对轮子文件的支持。
- pip install ggplot-0.11.5-py2.py3-none-any.whl来安装车轮。我从下载了whl文件。
这样做之后,我收到了更多消息:
scipy的构建轮失败
scipy的清理构建失败
请提供建议。
- 下载numpy-1.11。
2 + mkl-cp27-cp27m-win_amd64.whl和scipy-0.18.1-cp27-cp27m-win_amd64.whl文件来自到C:\Python27\Scripts目录。
在Windows的DOS命令窗口中运行以下命令:
pip安装numpy-1.11.2 + mkl-cp27-cp27m-win_amd64.whl
pip安装scipy-0.18.1-cp27-cp27m-win_amd64.whl
它们都已成功安装。 p>
-
最后
安装ggplot
I am trying to install ggplot for Python using
pip install ggplot
but I get an error message saying
I am using Python2.7 on Windows8. I looked at the suggestions and among other things tried the suggestion here
- pip install wheel to install support for wheel files.
- pip install ggplot-0.11.5-py2.py3-none-any.whl to install the wheel. I downloaded the whl file from here.
Upon doing this I got further messages saying:Failed building wheel for scipyFailed cleaning build for scipy
In addition I still get the original error message.
Please provide suggestions.
After trying all possible things suggested in various forums this is what worked for me:
- Download numpy-1.11.2+mkl-cp27-cp27m-win_amd64.whl and scipy-0.18.1-cp27-cp27m-win_amd64.whl files from http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy to C:\Python27\Scripts directory.
Run the following commands from the DOS command window in windows
pip install numpy-1.11.2+mkl-cp27-cp27m-win_amd64.whl
pip install scipy-0.18.1-cp27-cp27m-win_amd64.whl
They were both successfully installed.
Finally
pip install ggplot
这篇关于安装ggplot for python失败,错误代码为1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!