老师,window 只支持python3.6的版本请问怎么办
来源:2-7 神经元实现(二分类逻辑斯蒂回归模型实现)

学习学习再学习2018
2018-08-24
2回答
-
不可能的,window也支持python2.7的,如果是windows环境的话,建议安装anaconda,可以绕过很多环境配置问题。可以去这个网址下载:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
012018-08-27 -
gcoupleJ
2018-09-15
windows 上 python2.7确实没有tensorflow,无论cpu还是gpu的版本都没有。
stackoverflow上的有类似问题:
https://stackoverflow.com/questions/45408000/does-tensorflow-work-for-python-2-7-on-windows-10
我自己也试过:
1. anaconda 找不到tensorflow
2. pip install tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
3. pip install tensorflow-gpu
Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu
我默认是用清华源:https://pypi.tuna.tsinghua.edu.cn/simple
其他源也试过。
目前我都是用 python3.6 来做的。tensorflow 版本用的是1.4 gpu版本。
pip install tensorflow-gpu==1.4.0 --user
00
相似问题