I'm having problems installing mailman3 following the instructions on 
https://docs.mailman3.org/en/latest/install/virtualenv.html Everything goes 
well until I get to the Installing Mailman 
Core<https://docs.mailman3.org/en/latest/install/virtualenv.html#installing-mailman-core>
 step, which has me do the following in my venv environment:

(venv)$ pip install wheel mailman psycopg2-binary

Ubuntu 24.04.02 LTS
Python 3.12.3
pip version 24.0

First, I was getting problems because my company firewall was blocking outbound 
traffic. I got that taken care of. Next, I was seeing certificate errors, 
saying there was a self-signed certificate:

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, 
status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, 
'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed 
certificate in certificate chain (_ssl.c:1000)'))': /simple/wheel/
Could not fetch URL https://pypi.org/simple/wheel/: There was a problem 
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): 
Max retries exceeded with url: /simple/wheel/ (Caused by 
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: self-signed certificate in certificate chain 
(_ssl.c:1000)'))) - skipping

When I added --trusted-host pypi.org that error went away but I'm still unable 
to install anything:

(venv) mailman@wz-prd-tpmd-1:~$ pip -v --trusted-host pypi.org install wheel 
mailman psycopg2-binary
Using pip 24.0 from /opt/mailman/venv/lib/python3.12/site-packages/pip (python 
3.12)
ERROR: Could not find a version that satisfies the requirement wheel (from 
versions: none)
ERROR: No matching distribution found for wheel

The same error shows up if I try to install just mailman or psycopg2-binary, 
except the word "wheel" is replace with whichever package I've requested.

I've rerun the apt install of python3-dev and python3-venv to make sure those 
are present and up to date. Any help you can provide will be greatly 
appreciated.

--
Henry Hartley
Westat

_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/3U6FYSGYK5RA5JDMNXSOGMIQIJDX43FZ/

This message sent to arch...@mail-archive.com

Reply via email to