I want to make a web application that can open a game tournament ~ → The times are Python ❗
That's why I started building an environment using Django
https://qiita.com/aeas44/items/90c867aa2d02f9047ef0 Install PyMySQL referring to. Make DB settings
python manage.py migrate
Hit.
Then
raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Database.__version__)
django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
I can't Migrate for some reason.
If it is the version of Django 2.1, it will work without problems
But if you take a look at the official documentation
mysqlclient is a native driver. It’s the recommended choice. https://docs.djangoproject.com/en/2.2/ref/databases/
I wrote that you can use mysqlclient
That's why I decided to try it here
pip install mysqlclient
Install with. You don't have to change the environment settings
python manage.py migrate
I was able to migrate safely ❗
Recommended Posts