在windows10上安装tensorflow -python 3.6.1(anaconda)
我试图将tensorflow安装到我的机器上,但运行不正常。在windows10上安装tensorflow -python 3.6.1(anaconda)
我参考tensorflow主页,并决定安装它与anaconda,目前我正在运行我的python。
所以我做..
>conda create -n tensorflow python=3.5 #One of the posts on Stackoverflow
#told the other to put 'python=3.5' even when
#installing on python3.6.x.. So I did as what's said
>activate tensorflow
(tensorflow)>pip install --ignore-installed --upgrade tensorflow
但是当我运行上面的最后一行,我得到:
Collecting tensorflow
Could not find a version that satisfies the requirement tensorflow (from versions:)
No matching distribution found for tensorflow
我应该怎么做来解决我的问题?
顺便说一句,我的点子的版本是9.0.1 /蟒蛇30年3月4日/ Python的3.6.1
我觉得tensorflow尚不可用的Python 3.6。
如果您使用anaconda,您可以尝试使用python 3.5设置虚拟环境。
你可以尝试在此窗口中的测试版本,
PIP安装-i https://testpypi.python.org/pypi tensorflow
或者你可以尝试从车轮文件中像这样安装tensorflow(虽然这没”我成功了):
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.1-cp35-cp35m-win_amd64.whl
TensorFlow确实已将python 3.6二进制文件上传到pypi。 你只需要在管理员终端中运行pip install tensorflow
就是这样。 在windows上,使用anaconda的Windows常见问题是,您几乎总是需要具有管理员权限的终端来安装任何东西。所以这可能会导致你的问题。
URL到最新的Windows蟒蛇3.6 PIP封装: https://pypi.python.org/packages/76/7b/2048b4ecd88395ac16ab938e8675ffeda2acb60bc34f5ef63500eafafaf5/tensorflow-1.4.0-cp36-cp36m-win_amd64.whl#md5=7bdc1e94f1cb772ae5851018dc23a62e
TensorFlow的Windows官方安装文档: https://www.tensorflow.org/install/install_windows
嗯..我用管理员权限进行安装。但我仍然得到相同的信息: '收集张量流 找不到符合要求张量流的版本(从版本:) 张量流找不到匹配的分布' –
如果没有'conda create ....'命令正在运行,然后只是'pip安装tensorflow'? – gunan