Python 3.x 确认Python3.7中的ssl模块,ssl模块不可用
我尝试了许多针对不同版本发布的东西,但无法克服这个问题。脚本位置中是否有需要替换的内容?或者添加代码Python 3.x 确认Python3.7中的ssl模块,ssl模块不可用,python-3.x,pip,ssl-certificate,Python 3.x,Pip,Ssl Certificate,我尝试了许多针对不同版本发布的东西,但无法克服这个问题。脚本位置中是否有需要替换的内容?或者添加代码 C:\Users\HARSHA>pip install speechrecognition pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting speechrecognition Retrying (Ret
C:\Users\HARSHA>pip install speechrecognition
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting speechrecognition
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/speechrecognition/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/speechrecognition/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/speechrecognition/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/speechrecognition/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/speechrecognition/
Could not fetch URL https://pypi.org/simple/speechrecognition/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/speechrecognition/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not find a version that satisfies the requirement speechrecognition (from versions: )
No matching distribution found for speechrecognition
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
我相信这是同样的错误 解决办法是: 我可以通过添加python的dir-path来解决这个问题,在我的例子中,python的dir-path具有libeay32.dll C:\Users\Gabriel\Anaconda3\pkgs\openssl-1.1.1a-he774522\u 0\Library\bin作为系统环境中的最高位置
.这应该是评论,而不是回答。如果这是重复的问题,因此,和/或留下评论,一旦你足够。如果没有,请根据具体问题定制答案。