SSL error can be solved by bellow steps for sure. Just download the wheel on your own and pip install.
Ubuntu/Linux 64-bit, CPU only:
$ wget https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
$ sudo pip install –upgrade tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Ubuntu/Linux 64-bit, GPU enabled:
$ wget https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
$ sudo pip install –upgrade tensorflow-0.5.0-cp27-none-linux_x86_64.whl
SSLError: SSL_VERIFY_FAILED
If, during pip install from a URL, you encounter an error like:
…
SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Solution: Download the wheel manually via curl or wget, and pip install locally.

本文提供了解决在使用pip从URL安装TensorFlow时遇到SSL验证失败错误的方法。可以通过手动下载wheel文件并通过本地pip安装来避免SSL错误。
1027

被折叠的 条评论
为什么被折叠?



