URLError:<urlopen错误[SSL:CERTIFICATE_VERIFY_FAILED]证书验证失败:

时间:2019-11-02 23:48:34

标签: python-3.x rstudio version

尝试运行以下代码,而不尝试下载或连接到任何Web源,但我不断收到以下错误。这是导致错误的代码块。

尝试运行以下代码,而不尝试下载或连接到任何Web源,但我不断收到以下错误。这是导致错误的代码块。

mesh.area

URLError:

详细的回溯:   文件“”,第1行,位于   在load_dataset中的第428行,文件“ /Users/bharadwajpopuri/.virtualenvs/r-reticulate/lib/python3.7/site-packages/seaborn/utils.py”     urlretrieve(完整路径,缓存路径)   urlretrieve中的第247行“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”     使用contextlib.closing(urlopen(url,data))作为fp:   网址open中的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”,第222行     返回opener.open(URL,数据,超时)   打开的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”,第525行     响应= self._open(req,数据)   _open中的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”,第543行     '_open',要求)   _call_chain中的第503行的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”     结果= func(* args)   在https_open中的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”,行1360     context = self._context,check_hostname = self._check_hostname)   在do_open的文件“ /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/urllib/request.py”中,第1319行     引发URLError(err)

0 个答案:

没有答案