[issue45839] python3 executable is able to install pandas

2021-11-23 Thread Muhammad Irfan Asghar


Muhammad Irfan Asghar  added the comment:

Great, thanks!

On Tue, Nov 23, 2021 at 10:01 PM Muhammad Irfan Asghar <
rep...@bugs.python.org> wrote:

>
> Muhammad Irfan Asghar  added the comment:
>
> Hi
>
> The issue is finally solved by using the command
>
> pip3 install --trusted-host pypi.org --trusted-host pypi.python.org
> --trusted-host files.pythonhosted.org pandas
>
> Thanks to all who helped.
>
> regards
> Irfan
>
> On Tue, Nov 23, 2021 at 10:03 AM Ronald Oussoren 
> wrote:
>
> >
> > Ronald Oussoren  added the comment:
> >
> > Could you check with "curl -k https://pypi.org/ >/dev/null" what
> > certificate is used by PyPI?
> >
> > On my system I get (amongst other output):
> >
> > ...
> > * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
> > * ALPN, server accepted to use h2
> > * Server certificate:
> > *  subject: CN=pypi.org
> > *  start date: Oct 22 18:55:44 2021 GMT
> > *  expire date: Nov 23 18:55:43 2022 GMT
> > *  subjectAltName: host "pypi.org" matched cert's "pypi.org"
> > *  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA H2
> > 2021
> > *  SSL certificate verify ok.
> > ...
> >
> > Note how the issuer is GlobalSign. If you see some other certificate
> > authority, or get an error from curl due to the same certificate
> > verification problem, you have something on the path between you and PyPI
> > that intercepts the connection, such as a corporate proxy.
> >
> > Pip appears to have a way to override certificate verification, you'll
> > have to (a) read pip's manual for that and (b) be *very* sure you know
> > what's going on before you start trusting some other CA that's not in the
> > global trust root used by pip and certify.
> >
> > --
> >
> > ___
> > Python tracker 
> > <https://bugs.python.org/issue45839>
> > ___
> >
>
> --
>
> ___
> Python tracker 
> <https://bugs.python.org/issue45839>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45839] python3 executable is able to install pandas

2021-11-23 Thread Muhammad Irfan Asghar


Muhammad Irfan Asghar  added the comment:

Hi

The issue is finally solved by using the command

pip3 install --trusted-host pypi.org --trusted-host pypi.python.org
--trusted-host files.pythonhosted.org pandas

Thanks to all who helped.

regards
Irfan

On Tue, Nov 23, 2021 at 10:03 AM Ronald Oussoren 
wrote:

>
> Ronald Oussoren  added the comment:
>
> Could you check with "curl -k https://pypi.org/ >/dev/null" what
> certificate is used by PyPI?
>
> On my system I get (amongst other output):
>
> ...
> * SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
> * ALPN, server accepted to use h2
> * Server certificate:
> *  subject: CN=pypi.org
> *  start date: Oct 22 18:55:44 2021 GMT
> *  expire date: Nov 23 18:55:43 2022 GMT
> *  subjectAltName: host "pypi.org" matched cert's "pypi.org"
> *  issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign Atlas R3 DV TLS CA H2
> 2021
> *  SSL certificate verify ok.
> ...
>
> Note how the issuer is GlobalSign. If you see some other certificate
> authority, or get an error from curl due to the same certificate
> verification problem, you have something on the path between you and PyPI
> that intercepts the connection, such as a corporate proxy.
>
> Pip appears to have a way to override certificate verification, you'll
> have to (a) read pip's manual for that and (b) be *very* sure you know
> what's going on before you start trusting some other CA that's not in the
> global trust root used by pip and certify.
>
> --
>
> ___
> Python tracker 
> <https://bugs.python.org/issue45839>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45839] python3 executable is able to install pandas

2021-11-21 Thread Muhammad Irfan Asghar


Muhammad Irfan Asghar  added the comment:

Hi

I am really astonished and I have tried all tricks, help available on
internet. Is there any manual way to do this. i.e open any file and enter
information separately so that ssL certificate issue can be solved. or can
you tell me, how you configured your mac.

Irfan

On Sun, Nov 21, 2021 at 1:45 AM Ned Deily  wrote:

>
> Ned Deily  added the comment:
>
> That is very unusual behavior. Pip has its own private certificate store
> that it uses to make secure connections to pypi.org and the version of
> pip supplied with the python.org 3.10.0 macOS installer should work just
> fine as is. I just verified that it works for me. I'm just guessing here
> but I think the most likely cause of this behavior is that your internet
> connection is behind a misconfigured or malevolent proxy server. You may
> want to check your DNS settings as well to try to use a neutral DNS
> provider. There are discussions of similar problems on the web: try
> searching for: pypi self signed certificate in certificate chain. Good luck!
>
> --
>
> ___
> Python tracker 
> <https://bugs.python.org/issue45839>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45839] python3 executable is able to install pandas

2021-11-20 Thread Muhammad Irfan Asghar


Muhammad Irfan Asghar  added the comment:

Dear Christian

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

muhammadirfanasghar@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 "", line 44, in 

  File "", 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 
wrote:

>
> Christian Heimes  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 
> <https://bugs.python.org/issue45839>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45839] python3 executable is able to install pandas

2021-11-19 Thread Muhammad Irfan Asghar

Muhammad Irfan Asghar  added the comment:

Hi Eric

Thanks for your reply. I am using MacOS Big Sur version 11.5.1. And I
installed from python.org by downloading version for macOS and double click
and installed it. Also installed PyCharm

On Fri, Nov 19, 2021 at 12:59 AM Eric V. Smith 
wrote:

>
> Eric V. Smith  added the comment:
>
> Please provide information about the system you’re running on. Also, tell
> us how Python was installed.
>
> I assume the title should be “… is unable to install …”.
>
> --
> nosy: +eric.smith
>
> ___
> Python tracker 
> <https://bugs.python.org/issue45839>
> ___
>

--

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue45839] python3 executable is able to install pandas

2021-11-18 Thread Muhammad Irfan Asghar


New submission from Muhammad Irfan Asghar :

pip3.10 install pandas
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/pandas/
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/pandas/
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/pandas/
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/pandas/
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/pandas/
Could not fetch URL https://pypi.org/simple/pandas/: There was a problem 
confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): 
Max retries exceeded with url: /simple/pandas/ (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 pandas (from 
versions: none)
ERROR: No matching distribution found for pandas
Could not fetch URL https://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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: self signed certificate in certificate chain 
(_ssl.c:997)'))) - skipping

--
components: Extension Modules
messages: 406566
nosy: mirfanasghar
priority: normal
severity: normal
status: open
title: python3 executable is able to install pandas
type: security
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue45839>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com