在Windows上安装TensorFlow [英] Installing tensorflow on windows

查看:66
本文介绍了在Windows上安装TensorFlow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows上安装tensorflow.我有python3(3.5.2)和pip3(9.0.1):

I'm trying to install tensorflow on windows. I have python3 (3.5.2) and pip3 (9.0.1):

pip3 install --upgrade tensorflow

Collecting tensorflow

  Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

也在这里发现此问题:在pip中找不到tensorflow 但是没有一种解决方案对我有用.有什么想法吗?

Found this issue here as well: tensorflow not found in pip but none of the solutions worked for me. Any ideas?

推荐答案

在Python命令提示符下尝试以下操作:

Try the following at a Python command prompt:

import platform
platform.architecture()[0]

它应该显示"64bit" 仅拥有x86版本的Python是不够的. 我有同样的问题.以为我安装了64位,但结果却是32位.

It should display '64bit' Just having an x86 version of Python isn't enough. I had the same problem. Thought I had a 64 bit installation but it turned out to be 32 bit.

顺便说一句.它也可以与Conda Python 3.6发行版配合使用.确实可以使用Guillaume Jacquenot指示的Gohlke页面上的发行版.

BTW. it will also work fine with the Conda Python 3.6 distribution. And indeed use the distro from the Gohlke page as indicated by Guillaume Jacquenot.

这篇关于在Windows上安装TensorFlow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆