modoboa-installer
modoboa-installer copied to clipboard
failed while instalation
Impacted versions
Ubuntu 20.04 Arch: 64 Bits Database: MySQL
Steps to reproduce
following this one : https://www.linuxbabe.com/mail-server/modoboa-email-server-ubuntu-20-04
Full trace using --debug option or current behaviour
Collecting mysqlclient Using cached mysqlclient-2.1.1.tar.gz (88 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/bin/sh: 1: mysql_config: not found
/bin/sh: 1: mariadb_config: not found
/bin/sh: 1: mysql_config: not found
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. bash: modoboa-admin.py: command not found None
Expected behavior
Im trying to install mdoboa, in instaler .cfg i have precise mysql for maria ( already install ) and say no for install.
I had the same problem for Ubuntu 22.04, the solution for me was to install libmysqlclient-dev
before running modoboa-install
sudo apt install libmysqlclient-dev
Hey @Esuk and @Exepion. The "fix" has been merged, but it needs some changes. Would you mind posting the result of this command here, please ? cat /etc/os-release
Thanks !