-
Notifications
You must be signed in to change notification settings - Fork 444
Description
Version: 1.3.9
Python version: 3.5.2
Command: pip install mysqlclient
Error:
`
creating build\temp.win-amd64-3.5\Release
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(1,3,9,'final',1) -D__version__=1.3.9 "-IC:\Program Files (x86)\MySQL
\MySQL Connector C 6.1\include" -Ic:\python\3.5.2\include -Ic:\python\3.5.2\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include
\10.0.10240.0\ucrt" /Tc_mysql.c /Fobuild\temp.win-amd64-3.5\Release_mysql.obj /Zl
_mysql.c
_mysql.c(29): fatal error C1083: Cannot open include file: 'my_config.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
----------------------------------------
Command "c:\python\3.5.2\python.exe -u -c "import setuptools, tokenize;file='C:\Users\dagaz\AppData\Local\Temp\pip-build-3j2dag3a\mysqlclient\setup.py';f=getattr(tokenize, 'open', open)(__
file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\dagaz\AppData\Local\Temp\pip-wgjtc53a-record\install-record.txt --single-version-
externally-managed --compile" failed with error code 1 in C:\Users\dagaz\AppData\Local\Temp\pip-build-3j2dag3a\mysqlclient
`
Expected behavior: x64 platform MySQL Connector C 6.1.9 places itself into _C:\Program Files_ directory instead of x32 version location _C:\Program Files (x86)_.
More similar issues on the subject: http://stackoverflow.com/questions/1972259/cannot-open-include-file-config-win-h-no-such-file-or-directory-while-inst