oracle / python-cx_Oracle

Python interface to Oracle Database now superseded by python-oracledb
https://oracle.github.io/python-cx_Oracle
Other
890 stars 361 forks source link

Installation problem #579

Closed fernandoch777 closed 3 years ago

fernandoch777 commented 3 years ago

When trying to install I get these errors

PS C:\Windows\system32> python -m pip install cx_Oracle --upgrade WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))': /simple/cx-oracle/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))': /simple/cx-oracle/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))': /simple/cx-oracle/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))': /simple/cx-oracle/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))': /simple/cx-oracle/ Could not fetch URL https://pypi.org/simple/cx-oracle/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/cx-oracle/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)'))) - skipping ERROR: Could not find a version that satisfies the requirement cx_Oracle (from versions: none) ERROR: No matching distribution found for cx_Oracle 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(SSLError(1, '[SSL: WRONG_V ERSION_NUMBER] wrong version number (_ssl.c:1129)'))) - skipping

Any way to fix it?

Thanks

anthony-tuininga commented 3 years ago

This doesn't have anything to do with cx_Oracle! It is a failure to communicate with PyPI. You'll get the same error if you try to install another package from PyPI, too! Search for "SSL: WRONG_VERSION_NUMBER" and see if you can resolve that issue first.

fernandoch777 commented 3 years ago

Thanks!