简体   繁体   English

安装beautifulsoup时出现错误

[英]I'm getting error when installing beautifulsoup

C:\Users\esin>pip install beautifulsoup4
Collecting beautifulsoup4
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))': /simple/beautifulsoup4/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))': /simple/beautifulsoup4/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))': /simple/beautifulsoup4/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))': /simple/beautifulsoup4/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))': /simple/beautifulsoup4/
  Could not fetch URL https://pypi.org/simple/beautifulsoup4/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/beautifulsoup4/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))) - skipping
  Could not find a version that satisfies the requirement beautifulsoup4 (from versions: )
No matching distribution found for beautifulsoup4
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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)'))) - skipping
pip install bs4

要么

python -m pip install bs4
pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org bs4

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我在安装 dlib 时收到此错误“检查完整命令输出的日志”? - why i'm getting this error "check the logs for full command output" when i'm installing dlib? 当我不使用BeautifulSoup时如何摆脱BeautifulSoup html解析器错误 - How to get rid of the BeautifulSoup html parser error when I'm not using BeautifulSoup 在 Mac 上安装 PyAudion 时出现此错误 - I'm getting this error while installing PyAudion on a mac 我没有使用 python BeautifulSoup 得到结果 - I'm not getting result using python BeautifulSoup 为什么我无法从使用BeautifulSoup的网站获得缺乏数据? 我收到超时错误 - Why can't I get scarped data from a website with BeautifulSoup? I'm getting timeout error 我正在 Pycharm 中安装 requirements.txt 文件,但我收到此错误该怎么办 - I'm installing requirements.txt file in Pycharm but i'm getting this error what to do 安装BeautifulSoup时出错 - Error while installing BeautifulSoup ERROR INSTALLING KIVY:为什么我在执行后出错:“python -m pip install kivy”? - ERROR INSTALLING KIVY: Why am I Getting Error After Executing: "python -m pip install kivy"? 安装 matplotlib 时出现错误。我该怎么办? - While installing matplotlib i'm getting an error.What should i do? 打印美化的BeautifulSoup时出现Unicode错误 - Getting a Unicode error when printing prettified BeautifulSoup
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM