easy_install mysql-python fails to install windows 10

0

C:>easy_install mysql-python Searching for mysql-python Reading https://pypi.org/simple/mysql-python/ Downloading https://files.pythonhosted.org/packages/a5/e9/51b544da85a36a68debe7a7091f068d802fc515a3a202652828c73453cad/MySQL-python-1.2.5.zip#sha256=811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74 Best match: MySQL-python 1.2.5 Processing MySQL-python-1.2.5.zip Writing c:\users\myname\appdata\local\temp\easy_install-sceiqk\MySQL-python-1.2.5\setup.cfg Running MySQL-python-1.2.5\setup.py -q bdist_egg --dist-dir c:\users\myname\appdata\local\temp\easy_install-sceiqk\MySQL-python-1.2.5\egg-dist-tmp-vwzcqp _mysql.c _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: Setup script exited with error: command 'C:\Users\myname\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit status 2

BleepBloop

Posted 2019-05-03T15:49:25.587

Reputation: 3

solved my own problem

pip install wheel pip install mysqlclient-1.3.8-cp27-cp27m-win_amd64.whl – BleepBloop – 2019-05-03T16:54:24.613

No answers