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退出redis的示例:指定配置文件方式启动源码redis:roo...
ubuntu中mysql改密码忘了的解决方法:1.在终端中切换到root权...
ubuntu安装mysql失败的解决方法原因:可能是原有的MySQL还有...
使用centos和ubuntu建站的区别有以下几点1.CentOS是Linux发行...
ubuntu图形界面和字符界面切换的方法:可以通过快捷键CTRL+A...
ubuntu中重启mysql失败的解决方法1.首先,在ubuntu命令行中,...