用pip安装mysql-python时报错:

_mysql.c

_mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No s uch file or directory

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

 

解决办法到下面地址下载新版本的MySQL-python-1.x.xwin-amd64-py2.7.exe:

https://sourceforge.net/projects/mysql-python/?source=typ_redirect

安装后就解决问题

相关文章:

  • 2021-12-17
  • 2021-09-12
  • 2021-11-17
  • 2021-12-26
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2021-04-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2022-02-12
相关资源
相似解决方案