I do installed Microsoft Visual C++ 14.0, But while running pip install mysqlclient. Please, can anyone help? Thanks in advance.
Asked
Active
Viewed 3,244 times
1
-
try this, https://stackoverflow.com/questions/29846087/microsoft-visual-c-14-0-is-required-unable-to-find-vcvarsall-bat – JPG Jul 15 '18 at 17:19
-
No need to download the vs. Look at this answer for more details [Answer](https://stackoverflow.com/a/59878647/4000266) – heySushil Jan 23 '20 at 12:41
1 Answers
3
pip install mysqlclient:
- In this web download the package https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-client download 32 or 64 version python version based your python version.
- Put it to the directory (virtual folder).
- In command prompt run
pip install mysqlclient‑1.3.13‑cp36‑cp36m‑win_amd64.whl
(based on your python version).
Another way: use this command
pip install --only-binary :all: mysqlclient

Timus
- 10,974
- 5
- 14
- 28

Nasa Lee No_Liberty
- 31
- 2
-
I have tried pip install --only-binary :all: mysqlclient, it does not work, it errors out with 'no matching dist found for mysqlclient' – diek Sep 16 '18 at 22:19
-
1Put the mysqlclient‑1.3.13‑cp36‑cp36m‑win_amd64.whl in your python's virtual folder. – Nasa Lee No_Liberty Oct 24 '18 at 00:54