lykbk

安装mysql驱动:

pip install mysqlclient
  • 1

错误:

error: command \'C:\\Users\\...\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe\' failed with exit status 2
  • 1

搜索后发现http://www.cnblogs.com/stones/p/5833845.html
可能是版本问题
资源地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient
仍然错误:

Requirement \'mysqlclientm-win_amd64.whl\' looks like a filename, but the file does not exist
mysqlclientm-win_amd64.whl is not a valid wheel filename.
  • 1
  • 2

• 手动下载资源:

mysqlclient 1.3.10 cp27 cp27m win_amd64.whl
wheel install mysqlclient-1.3.10-cp27-cp27m-win_amd64.whl
  • 1
  • 2

错误:cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
选择mysqlclient-1.3.10-cp27-cp27m-win32.whl 使用pip安装

pip install mysqlclient-1.3.10-cp27-cp27m-win32.whl
  • 1

成功

分类:

技术点:

相关文章:

  • 2021-09-14
  • 2021-10-03
  • 2021-05-14
  • 2021-11-18
  • 2021-05-26
  • 2021-04-29
  • 2021-11-18
  • 2021-11-18
猜你喜欢
  • 2021-11-18
  • 2021-11-18
  • 2021-12-21
  • 2021-11-18
  • 2021-11-18
  • 2021-08-27
  • 2021-06-13
相关资源
相似解决方案