Addressing SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

User 9 | 12/16/2015, 6:12:44 PM

To work around 'SSLError: [SSL: CERTIFICATEVERIFYFAILED] certificate verify failed (_ssl.c:590)' you can try to add the following argument to the pip command.

--trusted-host <hostname> https://pip.pypa.io/en/stable/reference/pip/?highlight=#cmdoption--trusted-host

For example, you can add this when pip installing GraphLab Create on command line. pip install --upgrade --no-cache-dir --trusted-host get.dato.com https://get.dato.com/GraphLab-Create/1.7.1/<email>/<key>/GraphLab-Create-License.tar.gz

You can also use this when updating (or installing) a package from pypi.python.org/pypi. pip install --upgrade --trusted-host pypi.python.org graphlab-create

Comments

User 5221 | 5/23/2016, 7:02:23 PM

Tim. I added trusted-host to my installing of GraphLab and I am still receiving the certificateverifyfailed error. Thoughts?


User 4 | 5/23/2016, 7:53:59 PM

Hi @dsamhat, try making sure that in each instance of the command, only one trusted host is used at a time. To accomplish that, install graphlab-create first, then GraphLab-Create-License:

pip install --upgrade --trusted-host pypi.python.org graphlab-create pip install --upgrade --no-cache-dir --trusted-host get.dato.com https://get.dato.com/GraphLab-Create/1.7.1/<email>/<key>/GraphLab-Create-License.tar.gz

Please let us know if that helps. Thanks!


User 5221 | 5/23/2016, 9:35:09 PM

Thanks Zach! From what I can, it appears to have installed correctly.