美文网首页
win10下anaconda安装tensorflow找不到包:C

win10下anaconda安装tensorflow找不到包:C

作者: zy_now | 来源:发表于2017-02-21 16:29 被阅读0次

安装anaconda后使用pip安装tensorflow找不到包会报如下错误

C:\Users\Z.Y>pip install tensorflow
Collecting tensorflow
  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

为什么找不到呢?

  • 因为为tensorflow只支持python3.5版本的,不支持3.6的
  • 而官网最新下载的就是3.6版本的,真是超级坑的

注意那个大大的only
所以说,仔细看官方文档是多么重要。

C:\Users\Z.Y>python --version
Python 3.6.0 :: Anaconda 4.3.0 (64-bit)

所以需要使用conda 配置python3.5的环境!
具体使用方法,自行google
在cmd中

conda create --name python35 python=3.5

创建python3.5的环境
下面就可以愉快的使用

pip install tensorflow-gpu

与conda类似的Docker,也要好好研究,真是神奇一样的存在。

相关文章

网友评论

      本文标题:win10下anaconda安装tensorflow找不到包:C

      本文链接:https://www.haomeiwen.com/subject/jtsuwttx.html