window10安装python2.7_Windows10-python2.7安
在Windows10系統(tǒng)上,Python2.7安裝MySQLdb報錯:Microsoft Visual C++ 9.0 is required.......
根據(jù)報錯的提示解決沒用.....
根據(jù)網(wǎng)上資料,最終解決:
下載MySQL_python-1.2.5-cp27-none-win_amd64.whl(https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python,然后pip install xxxx.whl安裝即可)D:\01 software\Python相關(guān)軟件>pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl
You are using pip version 7.1.0, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Processing d:\01 software\python????\mysql_python-1.2.5-cp27-none-win_amd64.whl
Installing collected packages: MySQL-python
Successfully installed MySQL-python-1.2.5
D:\01 software\Python相關(guān)軟件>python
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>> exit
Use exit() or Ctrl-Z plus Return to exit
>>> ^Z
總結(jié)
以上是生活随笔為你收集整理的window10安装python2.7_Windows10-python2.7安的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python实现文件管理系统_Pytho
- 下一篇: spring 循环依赖_简单说说 Spr