pip SSL error after upgrading to 22.04

Walt Mankowski waltman at pobox.com
Fri Apr 29 12:14:04 UTC 2022


Update -- I reinstalled Python with `pyenv install 3.10.4` and that
seems to have fixed the problem.

Walt

On Thu, Apr 28, 2022 at 09:20:15PM -0400, Walt Mankowski wrote:
> Hi all,
> 
> I just upgraded a Linode running ubuntu server from 21.10 to 22.04. I
> had previously installed python via pyenv on this box.
> 
> The upgrade seemed to work fine and I didn't get any warnings or
> errors. However, now when I run `pip list -o` I'm getting errors:
> 
> $ pip list -o                     
> WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
> WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/urllib3/
> WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/urllib3/
> WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/urllib3/
> 
> I'm wondering if anyone is also seeing this issue, and if so, if they
> know how to solve it. Do I need to rebuild python?
> 
> Thanks.
> 
> Walt
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list