[英]pip install MySql-python==1.2.4 fails on Ubuntu 12.04
I came across few other questions on Stackoverflow about the same but none of them solved my issue and they didn't have exactly same environment details 我在Stackoverflow上遇到了一些关于同样的问题,但没有一个问题解决了我的问题,他们没有完全相同的环境细节
Ends with: IOError: Could not build the egg. 结束于:IOError:无法构建蛋。
Dump link here: http://pastebin.com/WcxpfZYe 转储链接在这里: http : //pastebin.com/WcxpfZYe
Python 2.7 Python 2.7
Let me know if any other details needed. 如果需要任何其他细节,请告诉我。
With pip version 1.4 it works. 使用pip 1.4版它可以工作。
I found this error too. 我也发现了这个错误。
You can use MySQL-python==1.2.5.
你可以使用MySQL-python==1.2.5.
The error might be fixed by this commit . 此提交可能会修复该错误。
Or, If you really want to use MySQL-python=1.2.4, try to install setuptools==0.9.8
before install it. 或者,如果你真的想使用MySQL-python = 1.2.4,请在安装之前尝试安装setuptools==0.9.8
。 (The version of pip is not so important. check the version of setuptools). (pip的版本不是那么重要。检查setuptools的版本)。
I found this error too but I had to use MySQL-python==1.2.4
. 我也发现了这个错误,但我不得不使用MySQL-python==1.2.4
。
Try to install: 尝试安装:
setuptools==0.9.8
distribute==0.6.29
MySQL==1.2.4
. 最后, MySQL==1.2.4
。 This worked for me. 这对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.