Windows10-python2.7安装MySQLdb报错
2018-03-01 17:43
363 查看
在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安装即可)
根据报错的提示解决没用.....
根据网上资料,最终解决:
下载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
相关文章推荐
- Windows10安装Python2.7
- NVIDIA DIGITS 5.1-dev学习笔记之安装过程记录:Windows10 x64位系统 、 MicroSoft Caffe Master、CUDA 8.0 、Python 2.7
- Windows10 64位 Python2.7 Matplotlib安装
- Windows10安装配置python2.7+scrapy环境
- windows10在python2.7的anaconda下安装py3.5.2并安装tensorflow遇到的问题
- Windows10安装Python2.7
- NVIDIA DIGITS 5.1-dev学习笔记之安装过程记录:Windows10 x64位系统 、 MicroSoft Caffe Master、CUDA 8.0 、Python 2.7
- Windows10(64)+anaconda2(python2.7)安装xgboost详细步骤
- Windows10 64位 安装python xgboost 工具包
- Linux下Python 2.7 & easy_install 安装
- 安装第三方库出现 Python version 2.7 required, which was not found in the registry
- 同一台机器同时安装 python2.7 和 python3.4 会不会冲突
- Python2.7 安装numpy报错解决方法
- centos6.4下编译安装 python2.7
- Ubuntu-Python2.7安装 scipy,numpy,matplotlib 和pip
- CentOS6安装python2.7(主要是因为想用 pip 的话需要2.7版本以上) + miniconda
- centos6.8 安装 Python 2.7
- CENTOS 6.5 安装 Python 2.7 总结 系统包含python2.6
- 升级Python2.7导致使用pip等命令安装模块失败
- windows7 下安装python2.7 setuptools pip