- pip instal MySQL-python 出现错误解决办法
解决方法如下:
1) 安装mysql connector, 可根据系统版本选择安装32位或64位的, 下载地址:
http://dev.mysql.com/downloads/connector/c/6.0.html#downloads
2) 安装Microsoft Visual C++ Compiler for Python 2.7,要是安装mysql-python需要乃至vc的一些运行库,下载地址:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=44266
3)手动安装 MySQL-python-1.2.3.win-amd64-py2.7.exe
http://www.codegood.com/archives/129
- Cannot uninstall ‘chardet’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决方法如下:sudo pip install –ignore-installed chardet