Termux - Android(pip install --only-binay :all: mysqlclient --user)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.
Did you install mysqlclient?
^C
$ pip install --only-binary :all: mysqlclient --user
ERROR: Could not find a version that satisfies the requirement mysqlclient (from versions: none)
ERROR: No matching distribution found for mysqlclient
I am trying to execute python web based Django project in Android.
How to solve this error?How can I able to install required mysqlclient in termux?
The package name is mysql
not mysqlclient
.
pip install mysql
And don't install a precompiled binary from PyPI. Most likely that won't work in termux.