1
resposta

Solução do problema Erro ao instalar a extensão flask_mysqldb

Error: microsoft visual 14.0 is required. get it wirth "microsoft visual c++ build tools"

pip install --only-binary :all: mysqlclient

(venv) C:\Users\enigma\PycharmProjects\jogoteca>pip install --only- binary :all: mysqlclient Collecting mysqlclient Downloading https://files.pythonhosted.org/packages/e0/c4 /59d2e98a4a1f55f02f49c7d820b91880d09f8a064e ce1bfb88cb4f179dc3/mysqlclient-1.3.12-cp36-cp36m-win32.whl (1.2MB) 100% |████████████████████████████████| 1.2MB 146kB/s Installing collected packages: mysqlclient Successfully installed mysqlclient-1.3.12 You are using pip version 9.0.3, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. (venv) C:\Users\enigma\PycharmProjects\jogoteca>

Depois de instalado o mysqlclient execute o comando abaixo: (venv) C:\Users\enigma\PycharmProjects\jogoteca>pip install flask-mysqldb==0.2.0

1 resposta

Cara, valeu obrigado