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.

dawei

【声明】:丽水站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

相关文章