On 1/24/19 3:00 AM, Bjoern Franke wrote:
Hi,
I already opened a debian bugreport for it, but I'm still wondering why the following issue appears:
File "/usr/lib/python3/dist-packages/django/db/backends/mysql/base.py", line 30, in <module> 'Did you install mysqlclient or MySQL-python?' % e django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'. Did you install mysqlclient or MySQL-python?
python3-pymysql, which is a dependency of mailman3-web and provides mySQLdb, is installed.
You need both pymysql and mysqlclient. The former is used by Mailman core and the latter by Django.
These can be installed with pip via
pip3 install pymysql pip3 install mysqlclient
or apt via
apt install python3-pymysql python3-mysqldb
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan