当前位置:网站首页>tensorflow安装踩坑总结

tensorflow安装踩坑总结

2022-08-10 13:31:00 成小七

一、Q:安装好了tensorflow-gpu版本,cuda也安好了,但是检测不到GPU。
A:使用pip安装,不要使用conda安装即可

二、pip install tensorflow时显示如下错误,开始以为是ssl证书的问题,机上trust也不行。此时可以试试关掉梯子。

Could not fetch URL https://pypi.org/simple/tensorflow/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host=‘pypi.org’, port=443): Max retries exceeded with url: /simple/tensorflow/ (Caused by SSLError(SSLEOFError(8, ‘EOF occurred in violation of protocol (_ssl.c:1131)’))) - skipping

原网站

版权声明
本文为[成小七]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_44074100/article/details/126244727