urllib.error.URLErro 或者 Can't connect to HTTPS URL because the SSL module is not available

部署运行你感兴趣的模型镜像

昨天2019.12.5我在我的windows系统上安装virtualbox和centos后,不知道是不是删了什么东西,导致了我的anaconda里自带的python编译器和pip都不好使了,一用pip install ~什么东西,就会报错。
问题:1:urllib.error.URLError:
2:ImportError: DLL load failed: 找不到指定的模块
3:Can’t connect to HTTPS URL because the SSL module is not available
解决方案:https://slproweb.com/products/Win32OpenSSL.html
去这个网址下载适合你电脑操作系统的MSI文件
在这里插入图片描述
然后放到你的anaconda————>Scripts里去
要是你在官网下载的python不好使了,就放到python——>lib——>site-packages里去
最后从新启动pycharm,进行编译 就好使了。
三个问题一下解决 嘿嘿

您可能感兴趣的与本文相关的镜像

Python3.8

Python3.8

Conda
Python

Python 是一种高级、解释型、通用的编程语言,以其简洁易读的语法而闻名,适用于广泛的应用,包括Web开发、数据分析、人工智能和自动化脚本

Could not fetch URL https://pypi.org/simple/requests/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/requests/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 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 WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: 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/requests/ WARNING: 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/requests/ WARNING: 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/requests/ WARNING: 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/requests/ WARNING: 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/requests/ ERROR: Could not find a version that satisfies the requirement requests==2.32.3 (from versions: none) ERROR: No matching distribution found for requests==2.32.3 WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
最新发布
07-22
313. tcName: 0009-0005-0021, status: pass Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 692, in urlopen conn = self._get_conn(timeout=pool_timeout) File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 281, in _get_conn return conn or self._new_conn() File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1009, in _new_conn raise SSLError( urllib3.exceptions.SSLError: Can't connect to HTTPS URL because the SSL module is not available. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 667, in send resp = conn.urlopen( File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 785, in urlopen retries = retries.increment( File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='kk.alibaba-inc.com', port=443): Max retries exceeded with url: /avms-server/api/task/getProcessName?taskProcessId=080bbe31-3f24-4695-b99e-6a57a51b32fe (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/Auto/06a4a1b9-5de7-424b-981b-70689d16ef20/BIOSValidationTest/BIOS_Test/BIOSuplog.py", line 191, in <module> Tcresult = TcresultSummary( File "/tmp/Auto/06a4a1b9-5de7-424b-981b-70689d16ef20/BIOSValidationTest/BIOS_Test/BIOSuplog.py", line 138, in __init__ self.get_action_name() File "/tmp/Auto/06a4a1b9-5de7-424b-981b-70689d16ef20/BIOSValidationTest/BIOS_Test/BIOSuplog.py", line 144, in get_action_name keys = requests.get(url_str, auth=HTTPBasicAuth('YXZtcy1hcGlNbXFaMmJtNQ==', 'ZWU3ZjcxYjg4MTRmY2Q5ODBlZjlmNzEwZGMzM2YxN2I=')).json() File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 698, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='kk.alibaba-inc.com', port=443): Max retries exceeded with url: /avms-server/api/task/getProcessName?taskProcessId=080bbe31-3f24-4695-b99e-6a57a51b32fe (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) 1kingkong-process-exit
07-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值