使用pip install openpyxl老是报错,详见下图:
python:使用pip安装openpyxl报错,网上找的文章很有用,记录一下
Could not fetch URL https://pypi.org/simple/openpyxl/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/openpyxl/ (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)’))) - skipping

网上找的资料附上网址提供的解决方案是:使用命令python -m pip install xlsxwriter --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org

转载:https://www.cnblogs.com/mumuluo/p/11308468.html

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2021-08-31
  • 2021-05-10
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-14
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-09-22
相关资源
相似解决方案