23 Oct
2023
23 Oct
'23
7:07 a.m.
On Sun, Oct 22, 2023 at 7:24 PM Wikinaut <mail@tgries.de> wrote:
I had the same problem two days ago!
Solution is exactly this:
sudo su mailman
(venv) MYSQLCLIENT_CFLAGS="-I/usr/include/mysql" MYSQLCLIENT_LDFLAGS="-L/usr/lib/x86_64-linux-gnu -lmysqlclient" pip3 install mysqlclient
Source: stackoverflow.com/a/76801424/731798
Thanks. This worked for me, except that in FreeBSD it changes a little: MYSQLCLIENT_CFLAGS="-I/usr/local/include/mysql" MYSQLCLIENT_LDFLAGS="-L/usr/local/lib/mysql -lmysqlclient" pip3 install -U mysqlclient
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]