0
I’m trying to install mysqlclient on Windows using Pip, so I can use it on Flask, but when I try to use Pip install on CMD (with the files downloaded on the site https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient) message appears:
pip install mysqlclient-1.4.2-cp38-cp38m-win_amd64.whl
WARNING: Requirement 'mysqlclient-1.4.2-cp38-cp38m-win_amd64.whl' looks like a filename, but the file does not exist
ERROR: mysqlclient-1.4.2-cp38-cp38m-win_amd64.whl is not a supported wheel on this platform.
How do I fix it?
Do I have to put the downloaded file in a specific folder? Because I still have the same problem.
– Armando
Hello, sorry for the delay in responding, I just saw it. Yes, you need to run the command on CMD from the same folder where you downloaded the file. The easiest way to do this is to open Windows Explorer (file manager), navigate to the folder where you downloaded the file
mysqlclient‑1.4.2‑cp38‑cp38m‑win_amd64.whl
, hold the keySHIFT
pressed, right-click and choose the optionAbrir a janela de comando aqui
. Then just run the command of my answer.– pagliuca
That was the problem, thank you very much for your help!
– Armando