CreatCodeBuild / TensorFlow-and-DeepLearning-Tutorial

A TensorFlow & Deep Learning online course I taught in 2016
2.31k stars 620 forks source link

tensorFolw Win10安装出问题 #12

Closed chg0901 closed 7 years ago

chg0901 commented 7 years ago

看到第七节时,发现自己在windows10下还没安装 在win10控制台下输入pip命令安装时, pip install --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl 弹出了下面的错误,说是这个文件类型不被支持,结果就悲剧了 tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.

查了好一会了,还没有解决方法,请问您知道怎么解决么? 系统是win10x64,anaconda2,anaconda3都安装了,并且将64bit anaconda3设为默认,python3.5.4

chg0901 commented 7 years ago

查出来原因了,因为我的pip还是默认版本8.1.2,升级成9.01就可以了

Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\cheng hong>pip install wheel Requirement already satisfied (use --upgrade to upgrade): wheel in f:\00000000000worksoft\anaconda3\lib\site-packages You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

C:\Users\cheng hong>python -m pip install --upgrade pip Collecting pip Using cached pip-9.0.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 8.1.2 Uninstalling pip-8.1.2: Successfully uninstalled pip-8.1.2 Successfully installed pip-9.0.1

C:\Users\cheng hong>pip install wheel Requirement already satisfied: wheel in f:\00000000000worksoft\anaconda3\lib\site-packages

C:\Users\cheng hong>pip install tensorflow-gpu Collecting tensorflow-gpu Downloading tensorflow_gpu-0.12.0-cp35-cp35m-win_amd64.whl (41.9MB) 100% |################################| 41.9MB 33kB/s Requirement already satisfied: six>=1.10.0 in f:\00000000000worksoft\anaconda3\lib\site-packages (from tensorflow-gpu) Requirement already satisfied: wheel>=0.26 in f:\00000000000worksoft\anaconda3\lib\site-packages (from tensorflow-gpu) Collecting protobuf==3.1.0 (from tensorflow-gpu) Downloading protobuf-3.1.0-py2.py3-none-any.whl (339kB) 100% |################################| 348kB 3.0MB/s Requirement already satisfied: numpy>=1.11.0 in f:\00000000000worksoft\anaconda3\lib\site-packages (from tensorflow-gpu) Requirement already satisfied: setuptools in f:\00000000000worksoft\anaconda3\lib\site-packages\setuptools-23.0.0-py3.5.egg (from protobuf==3.1.0->tensorflow-gpu) Installing collected packages: protobuf, tensorflow-gpu Successfully installed protobuf-3.1.0 tensorflow-gpu-0.12.0