+ 1

pip install mysqlclient error

error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- Command "c:\developer\python\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Public\\Documents\\Wondershare\\CreatorTemp\\pip-install-a2p5n5it\\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\Public\Documents\Wondershare\CreatorTemp\pip-record-0pdhft44\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-install-a2p5n5it\mysqlclient\

21st Jan 2019, 10:00 AM
Divyesh Bhatasana
Divyesh Bhatasana - avatar
2 Réponses
+ 2
You should do exactly this - get yourself the MS Visual C++ Build Tools from the link above. Consult the below for appropriate version: https://dev.mysql.com/downloads/windows/visualstudio/
21st Jan 2019, 11:13 AM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
Then what do?? 🤔
21st Jan 2019, 11:32 AM
Divyesh Bhatasana
Divyesh Bhatasana - avatar