| | 1 | = 2023-11-23 = |
| | 2 | |
| | 3 | == Python == |
| | 4 | |
| | 5 | * Error: |
| | 6 | {{{ |
| | 7 | C:\Users\yawang |
| | 8 | λ pip3 install selenium webdriver-manager bs4 lxml pandas webweb --proxy http://127.0.0.1:9000 |
| | 9 | 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: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/selenium/ |
| | 10 | 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: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/selenium/ |
| | 11 | 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: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/selenium/ |
| | 12 | 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: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/selenium/ |
| | 13 | 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: unable to get local issuer certificate (_ssl.c:1000)'))': /simple/selenium/ |
| | 14 | Could not fetch URL https://pypi.org/simple/selenium/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/selenium/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) - skipping |
| | 15 | ERROR: Could not find a version that satisfies the requirement selenium (from versions: none) |
| | 16 | ERROR: No matching distribution found for selenium |
| | 17 | 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: unable to get local issuer certificate (_ssl.c:1000)'))) - skipping |
| | 18 | |
| | 19 | }}} |
| | 20 | * reference: |
| | 21 | * solution: |
| | 22 | {{{ |
| | 23 | C:\Users\yawang |
| | 24 | λ pip3 install selenium webdriver-manager bs4 lxml pandas webweb --proxy http://127.0.0.1:9000 --trusted-host pypi.org --trusted-host files.pythonhosted.org |
| | 25 | }}} |