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. (编辑:台州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |