@
Scott from your previous post you use Anaconda.
Look at my tutorial
here.
From start with
cmd
(as i don't like do use),i always use
cmder.
Start cmd as
admin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Microsoft Windows [Version 10.0 . 17134.48 ]
(c) 2018 Microsoft Corporation. Med enerett.
C:\WINDOWS\system32>g:
G:\>cd anaconda3\Scripts
G:\Anaconda3\Scripts>conda - V
conda 4.5 . 4
G:\Anaconda3\Scripts>pip - V
pip 9.0 . 1 from G:\Anaconda3\lib\site - packages (python 3.6 )
G:\Anaconda3\Scripts>pip3 - V
pip 10.0 . 1 from c:\python36\lib\site - packages\pip (python 3.6 )
|
So i have cd in into Scripts folder of Anaconda3.
Here i check version,so i have to use
pip
as
pip3
point to my OS Python.
They advice to use
pip
for tensorflow.
Usually would use
conda
to install in to Anaconda eg
conda install some_package
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
G:\Anaconda3\Scripts>pip install - - upgrade tensorflow
Collecting tensorflow
Downloading https: / / files.pythonhosted.org / packages / f4 / 88 / 980d7032b7408fcca5b0b8d420fcd97919197a9e7acf280ab74fc7db6993 / tensorflow - 1.8 . 0 - cp36 - cp36m - win_amd64.whl ( 34.4MB )
100 % |████████████████████████████████| 34.4MB 37kB / s
Collecting termcolor> = 1.1 . 0 ( from tensorflow)
Downloading https: / / files.pythonhosted.org / packages / 8a / 48 / a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981 / termcolor - 1.1 . 0.tar .gz
Collecting tensorboard< 1.9 . 0 ,> = 1.8 . 0 ( from tensorflow)
Downloading https: / / files.pythonhosted.org / packages / 59 / a6 / 0ae6092b7542cfedba6b2a1c9b8dceaf278238c39484f3ba03b03f07803c / tensorboard - 1.8 . 0 - py3 - none - any .whl ( 3.1MB )
100 % |████████████████████████████████| 3.1MB 378kB / s
Collecting numpy> = 1.13 . 3 ( from tensorflow)
Downloading https: / / files.pythonhosted.org / packages / af / e4 / 7d7107bdfb5c33f6cf33cdafea8c27d1209cf0068a6e3e3d3342be6f3578 / numpy - 1.14 . 3 - cp36 - none - win_amd64.whl ( 13.4MB )
ect..............
Successfully installed absl - py - 0.2 . 2 astor - 0.6 . 2 gast - 0.2 . 0 grpcio - 1.12 . 0 html5lib - 0.9999999 markdown - 2.6 . 11 numpy - 1.14 . 3 protobuf - 3.5 . 2.post1 setuptools - 39.2 . 0 tensorboard - 1.8 . 0 tensorflow - 1.8 . 0 termcolor - 1.1 . 0 werkzeug - 0.14 . 1 wheel - 0.31 . 1
|
Test that it work:
Got error,so look like i need newer GPU or CUDA version.
As tensorflow can use GPU,you may need to look at what's supported.
I could downgrade to CPU version only
tensoreflow==1.5
,
but this was just a demo of install so will not use more time on it.