pip install SSL: CERTIFICATE_VERIFY_FAILED solution

centos pip install scikit-image

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) - skipping

问题是Python 的轮子网站不信任我们的证书,所有我们这样加参数就可以解决问题:
pip install –trusted-host files.pythonhosted.org –trusted-host pypi.org –trusted-host pypi.python.org scikit-image

你可能感兴趣的:(python)