On Mon, Mar 6, 2023 at 7:52 PM Odhiambo Washington <odhiambo@gmail.com> wrote:
On Mon, Mar 6, 2023 at 7:32 PM Mark Sapiro <mark@msapiro.net> wrote:
On 3/6/23 08:23, Odhiambo Washington wrote:
I install Python3.11 manually on Debian12 (maybe this is the issue!) VM using the script below: #!/bin/bash cd Python-3.11.2 ./configure --enable-optimizations
You also want --enable-shared
I had done that, but somehow the build had failed with it. I will try it again.
I managed to reinstall Python3.11 the correct way:
<CUT> #!/bin/bash cd Python-3.11.2 ./configure --enable-optimizations --enable-shared make altinstall # Set Python 3.11 as the Default update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.11 1 # Install PIP using the following command if you do not have it. curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 </CUT>
After this, I installed a fresh venv, activated and installed everything according to
https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-install
MM3 is running fine with uwsgi as documented. I have not deviated even a single step from the documentation above.
Now I will test with mod_wsgi and gunicorn and report back.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)