Walt Mankowski via plug on 29 Apr 2022 05:15:32 -0700


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

Re: [PLUG] pip SSL error after upgrading to 22.04


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:42:46PM -0400, Walt Mankowski via plug wrote:
> 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

Attachment: signature.asc
Description: PGP signature

___________________________________________________________________________
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