使用pip install 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