Walt Mankowski via plug on 28 Apr 2022 18:43:48 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] pip SSL error after upgrading to 22.04


Hi all,

I'm crossing-posting this from the ubuntu-users mailing list. After posting it there I got to thinking the folks here might have a better chance of knowing the answer. My apologies to anyone who sees it twice.

Tonight I upgraded a Linode running ubuntu 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 strange 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
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug