在PyPI安装Python cx_Oracle时出现SSL证书错误

2024-04-26 06:12:22 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要连接到Oracle 11g速成版。为此,我尝试使用pip install cx Oracle命令安装cx Oracle。我的python版本是:python3.5.1::anaconda4.1.0(64位)。你知道吗

它显示出错误

Collecting cx-Oracle
Could not fetch URL https://pypi.python.org/simple/cx-oracle/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement cx-Oracle (from versions: )
No matching distribution found for cx-Oracle

我也试过了

conda install -c amodig cx_oracle

它还显示了一个兼容的错误:

The following specifications were found to be in conflict:
- cx_oracle
- python 3.5*
Use "conda info " to see the dependencies for each package.

Oracle版本应该是什么?安装?有人能帮我吗?你知道吗


Tags: installtheto版本sslfor错误not