Python 官方文档:入门教程 => 点击学习
在windows10系统上,python2.7安装Mysqldb报错:Microsoft Visual c++ 9.0 is required.......根据报错的提示解决没用..... 根据网上资料,最终解决:下载mysql_Pytho
在windows10系统上,python2.7安装Mysqldb报错:Microsoft Visual c++ 9.0 is required.......
根据报错的提示解决没用.....
根据网上资料,最终解决:
下载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相关软件>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相关软件>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
--结束END--
本文标题: Windows10-python2.7安
本文链接: https://www.lsjlt.com/news/186478.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0