成功解决urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
Failed 解决 Error 成功 Errno urllib
2023-09-14 09:04:49 时间
成功解决urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
目录
解决问题
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
解决思路
网址错误,网址有问题!
解决方法
如果网址确定没错,并且当前上网也没问题,那么,很可能是网址单双引号导致的bug。
可以将网址链接的双引号改为单引号,如果原来就是单引号,那就改为双引号,改为一次后,即使再改回去,当时也不会出错,但下次有可能还会出现此bug,再改过去即可,屡试不爽!
比如
将
“https://blog.csdn.net/qq_41185868”
改为
’https://blog.csdn.net/qq_41185868’
相关文章
- Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
- VS2010安装顽疾解决方法:error 25541 failed to open xml file
- Anaconda更新失败简单解决[CondaHTTPError: HTTP 000 CONNECTION FAILED for url]
- python3:用pip安装第三方库时报错Command "python setup.py egg_info" failed with error code的解决
- Custom tool error: Failed to generate code for the service reference ××××××. Please check other erro
- 成功解决“assert.h”: No such file or directory error: command failed with exit code 2
- 成功解决urllib.error.URLError: <urlopen error [Errno 11004] getaddrinfo failed>
- 成功解决urllib.error.URLError urlopen error Errno 11004 getaddrinfo failed
- 成功解决OpenCV Error: Assertion failed (scn == 3 || scn == 4) in cv::cvtColor
- 成功解决Ubuntu下的make: gcc: Command not found Makefile:85: recipe for target 'obj/gemm.o' failed make: **
- 解决OpenCV问题:OpenCV Error: Assertion failed (!empty()) in cv::CascadeClassifier::detectMultiScale,
- 成功解决CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anacond
- 成功解决urllib.error.URLError urlopen error Errno 11004 getaddrinfo failed
- 成功解决Command "python setup.py egg_info" failed with error code 1 in C:UsersAppData
- android 解决报错 installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed parse during installPackageLI: Failed to read manifest from /xx/xx/xx.apk
- 完美解决Failed to determine a suitable driver class的问题
- InnoDB: mmap(137363456 bytes) failed; errno 12 解决mysql缓存溢出的问题
- 成功解决Initialization failed for ‘https://start.spring.io‘ Please check URL, network and proxy settings
- ORB-SLAM3编译问题 recipe for target ‘CMakeFiles/ORB_SLAM3.dir/src/LocalMapping.cc.o‘ failed
- 解决nvidia-docker 问题 nvidia-docker | Error: failed to run docker command
- 【Deepin 20系统】解决Check failed: err == cudaSuccess || err == cudaErrorInvalidValue Unexpected CUDA erro
- 【Neuron】解决“neuron process failed enable core dump, ignore”与“can‘t create persister”问题
- 【openEuler】解决 Error: Failed to download metadata for repo ‘OS‘: Cannot download repomd.xml
- Solving environment: failed错误解决方法