[issue45839] python3 executable is able to install pandas

Muhammad Irfan Asghar report at bugs.python.org
Sat Nov 20 09:20:14 EST 2021


Muhammad Irfan Asghar <mirfanasghar at gmail.com> added the comment:

Dear Christian

I ran the   "Install Certificate.command" from installation forum, but it
gave the following error message
===============================================================================

muhammadirfanasghar at Muhammads-MacBook-Pro ~ % /Applications/Python\
3.10/Install\ Certificates.command ; exit;

 -- pip install --upgrade certifi

WARNING: Retrying (Retry(total=4, 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:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=3, 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:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=2, 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:997)'))': /simple/certifi/

WARNING: Retrying (Retry(total=1, 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:997)'))': /simple/certifi/

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:997)'))': /simple/certifi/

Could not fetch URL https://pypi.org/simple/certifi/: There was a problem
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',
port=443): Max retries exceeded with url: /simple/certifi/ (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: self signed certificate in certificate chain
(_ssl.c:997)'))) - skipping

ERROR: Could not find a version that satisfies the requirement certifi
(from versions: none)

ERROR: No matching distribution found for certifi

WARNING: You are using pip version 21.2.3; however, version 21.3.1 is
available.

You should consider upgrading via the
'/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m pip
install --upgrade pip' command.

Traceback (most recent call last):

  File "<stdin>", line 44, in <module>

  File "<stdin>", line 24, in main

  File
"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py",
line 369, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command
'['/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10',
'-E', '-s', '-m', 'pip', 'install', '--upgrade', 'certifi']' returned
non-zero exit status 1.

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

======================================================================================================

On Fri, Nov 19, 2021 at 3:31 PM Christian Heimes <report at bugs.python.org>
wrote:

>
> Christian Heimes <lists at cheimes.de> added the comment:
>
> The bug report is a duplicate of bpo-43404. Python cannot use the system
> trust store on macOS. You need to follow the instructions at the end of the
> installation process to install root CA certificates. tl;dr run the "
> Install Certificates.command" from the installation folder.
>
> ----------
> components: +Installation, macOS -Extension Modules
> nosy: +christian.heimes, ned.deily, ronaldoussoren
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
> superseder:  -> No SSL certificates when using the Mac installer
> type: security -> behavior
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <https://bugs.python.org/issue45839>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45839>
_______________________________________


More information about the Python-bugs-list mailing list