PS C:\Users\1849\storefront> pipenv install mysqlclient
Installing mysqlclient…
Error: An error occurred while installing mysqlclient!
Error text: Collecting mysqlclient
Using cached mysqlclient-2.0.3.tar.gz (88 kB)
Building wheels for collected packages: mysqlclient
Building wheel for mysqlclient (setup.py): started
Building wheel for mysqlclient (setup.py): finished with status ‘error’
Running setup.py clean for mysqlclient
Failed to build mysqlclient
Installing collected packages: mysqlclient
Running setup.py install for mysqlclient: started
Running setup.py install for mysqlclient: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\1849.virtualenvs\storefront–fDXSXoO\Scripts\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’; file=’"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\Users\1849\AppData\Local\Temp\pip-wheel-10h4cdem’
cwd: C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790
Complete output (31 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\MySQLdb
copying MySQLdb_init_.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb_exceptions.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\connections.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\converters.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\cursors.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\release.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\times.py → build\lib.win32-3.7\MySQLdb
creating build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants_init_.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CR.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\ER.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FLAG.py → build\lib.win32-3.7\MySQLdb\constants
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'MySQLdb.mysql’ extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\MySQLdb
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(2,0,3,‘final’,0) -D__version_=2.0.3 “-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\include\mariadb” -IC:\Users\1849.virtualenvs\storefront–fDXSXoO\include -Ic:\users\1849\appdata\local\programs\python\python37-32\include -Ic:\users\1849\appdata\local\programs\python\python37-32\include “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt” “-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt” /TcMySQLdb/_mysql.c /Fobuild\temp.win32-3.7\Release\MySQLdb/_mysql.obj
_mysql.c
MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: ‘mysql.h’: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\cl.exe’ failed with exit status 2
ERROR: Failed building wheel for mysqlclient
ERROR: Command errored out with exit status 1:
command: ‘C:\Users\1849.virtualenvs\storefront–fDXSXoO\Scripts\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’; file=’"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\Users\1849\AppData\Local\Temp\pip-record-kt8u6xe2\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\1849.virtualenvs\storefront–fDXSXoO\include\site\python3.7\mysqlclient’
cwd: C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790
Complete output (31 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\MySQLdb
copying MySQLdb_init_.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb_exceptions.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\connections.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\converters.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\cursors.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\release.py → build\lib.win32-3.7\MySQLdb
copying MySQLdb\times.py → build\lib.win32-3.7\MySQLdb
creating build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants_init_.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CLIENT.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\CR.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\ER.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FIELD_TYPE.py → build\lib.win32-3.7\MySQLdb\constants
copying MySQLdb\constants\FLAG.py → build\lib.win32-3.7\MySQLdb\constants
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'MySQLdb._mysql' extension
creating build\temp.win32-3.7
creating build\temp.win32-3.7\Release
creating build\temp.win32-3.7\Release\MySQLdb
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x86\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Dversion_info=(2,0,3,'final',0) -D__version__=2.0.3 "-IC:\Program Files (x86)\MySQL\MySQL Connector C 6.1\include\mariadb" -IC:\Users\1849\.virtualenvs\storefront--fDXSXoO\include -Ic:\users\1849\appdata\local\programs\python\python37-32\include -Ic:\users\1849\appdata\local\programs\python\python37-32\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /TcMySQLdb/_mysql.c /Fobuild\temp.win32-3.7\Release\MySQLdb/_mysql.obj
_mysql.c
MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x86\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: ‘C:\Users\1849.virtualenvs\storefront–fDXSXoO\Scripts\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’; file=’"’"‘C:\Users\1849\AppData\Local\Temp\pip-install-qmgue0xr\mysqlclient_f71ab753cc924568bf11bbff1f24f790\setup.py’"’"’;f = getattr(tokenize, ‘"’"‘open’"’"’, open)(file) if os.path.exists(file) else io.StringIO(’"’"‘from setuptools import setup; setup()’"’"’);code = f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ install --record ‘C:\Users\1849\AppData\Local\Temp\pip-record-kt8u6xe2\install-record.txt’ --single-version-externally-managed --compile --install-headers ‘C:\Users\1849.virtualenvs\storefront–fDXSXoO\include\site\python3.7\mysqlclient’ Check the logs for full command output.
Installation Failed