Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue47201

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:pip3.10.4 is configured with locations that require TLS/SSL, however the ssl module in Python is not available
Type:Stage:
Components:InstallationVersions:Python 3.10
process
Status:openResolution:
Dependencies:Superseder:
Assigned To:Nosy List: alessandro.pioli, christian.heimes
Priority:normalKeywords:

Created on2022-04-02 15:10 byalessandro.pioli, last changed2022-04-11 14:59 byadmin.

Messages (2)
msg416558 -(view)Author: Alessandro Pioli (alessandro.pioli)Date: 2022-04-02 15:10
After installation of 3.4.10 with openssl procedurehttps://docs.python.org/3/using/unix.html#on-linuxon centos 7.9 pip get this error:pip3.10 install -r requirements.txt 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/jinja2/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/jinja2/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/jinja2/WARNING: Retrying (Retry(total=1, 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/jinja2/WARNING: Retrying (Retry(total=0, 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/jinja2/Could not fetch URLhttps://pypi.org/simple/jinja2/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jinja2/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skippingERROR: Could not find a version that satisfies the requirement Jinja2 (from versions: none)ERROR: No matching distribution found for Jinja2WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.Could not fetch URLhttps://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
msg416580 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2022-04-02 19:35
CentOS 7 has an unsupported OpenSSL version. You need to build your own OpenSSL or use my work fromhttps://github.com/tiran/cpython_builddep/#notesudo yum install -y epelsudo yum install -y openssl11-develsed -i 's/PKG_CONFIG openssl /PKG_CONFIG openssl11 /g' configure
History
DateUserActionArgs
2022-04-11 14:59:58adminsetgithub: 91357
2022-04-02 19:35:32christian.heimessetnosy: +christian.heimes
messages: +msg416580
2022-04-02 15:10:50alessandro.piolicreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp