tensorflow不支持32位的python版本

C:\Users\****>pip3 install tensorflow-gpu
Collecting tensorflow-gpu
  Could not find a version that satisfies the requirement tensorflow-gpu (from versions: )
No matching distribution found for tensorflow-gpu

原因是:在Windows环境下,tensorflow目前只支持64位。

而:

C:\Users\***>py
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 16:07:46) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

用户环境变量和系统环境变量里的path中D:\Python\Python36-32\Scripts\;D:\Python\Python36-32\;删掉。

重新装一个64位版本的python。

猜你喜欢

转载自blog.csdn.net/yblbbblwsle/article/details/82689743