ubuntu安装tensorflow时使用pip安装时出现SSLError[已解决]

前端之家收集整理的这篇文章主要介绍了ubuntu安装tensorflow时使用pip安装时出现SSLError[已解决]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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.

猜你在找的Ubuntu相关文章