Varun R
Varun R

Reputation: 11

"pip install mysqlclient" requires microsoft visual c++ error

I do installed Microsoft Visual C++ 14.0, But while running pip install mysqlclient. Please, can anyone help? Thanks in advance.

Here is the screenshot

Upvotes: 1

Views: 3420

Answers (1)

Nasa Lee No_Liberty
Nasa Lee No_Liberty

Reputation: 31

pip install mysqlclient:

  1. 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.
  2. Put it to the directory (virtual folder).
  3. 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

Upvotes: 3

Related Questions