200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > optionnally mysql_MySQL数据库之关于windows x64安装MySQL-python失败解决

optionnally mysql_MySQL数据库之关于windows x64安装MySQL-python失败解决

时间:2024-07-14 17:29:07

相关推荐

optionnally mysql_MySQL数据库之关于windows x64安装MySQL-python失败解决

本文主要向大家介绍了MySQL数据库之关于windows x64安装MySQL-python失败解决 ,通过具体的内容向大家展现,希望对大家学习MySQL数据库有所帮助。

MySQL-python只是有32位系统安装包,如果下载exe或者pip安装,也会报错。报错如下:_mysql.c():fatalerrorC1083:Cannotinclude::Nos

uchdirectory

error:commandl.exe----------------------------------------

Cleaningup...

CommandC:\Users\Admin1\Desktop\python\virtual\Scripts\python.exe-cuptools,tokenize;__file__=MySQL-python\\setup.pyead().replace(,),__file__,))\appdata\local\temp\\pip-pmwrd-record\install-record.txt--single-version-ext

ernally-managed----install-headersC:\Users\Admin1\Desktop\python\virtu

al\include\site\python2failederrorcodeC:\Users\Admin1\Desktop\py

thon\virtual\build\MySQL-python

StoringdebuglogfailureC:\Users\Admin1\pip\pip.需要安装MYSQL数据库和vc相关库,而自己只需要方便远程连接对服务器数据库操作和学习python,所以没有必要安装这些。找到如下解决方法:installusingwheelpipinstallwheelMySQL_python安装版本http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python下载后,直接使用pip安装:pipinstallMySQL_python-1.2.5-cp27-none-win_amd64.whl如下:这样就安装成功。

本文由职坐标整理并发布,希望对同学们学习MySQL有所帮助,更多内容请关注职坐标数据库MySQL数据库频道!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。