У меня возникли ошибки после установки новейшей версии mysqlclient для моего проекта Django.Python

Программы на Python
Anonymous
У меня возникли ошибки после установки новейшей версии mysqlclient для моего проекта Django.

Сообщение Anonymous »


I am doing a django project, and I am supposed be able to get the correct content with http://127.0.0.1:8000/statis/css/main.css and http://127.0.0.1:8000/media/imgs/p1.jpg. However, after I run the manage.py I can't get in with the website address because there's a mistake. And here's the bug

django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.3 or newer is required; you have 1.0.2. I tried to install the newest version of mysqlclient like

pip install mysqlclient pip install mysqlclient==1.3.4 but the bug still shows up. What should I do? I am not familiar with sql at all.

I hope to solve the mysqlclient problem


Источник: https://stackoverflow.com/questions/780 ... ango-proje

Вернуться в «Python»