Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing Tensorflow
#10
@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
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.
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.
Reply


Messages In This Thread
Installing Tensorflow - by Scott - Jun-03-2018, 07:47 AM
RE: Installing Tensorflow - by wavic - Jun-03-2018, 08:06 AM
RE: Installing Tensorflow - by Scott - Jun-03-2018, 10:41 AM
RE: Installing Tensorflow - by wavic - Jun-03-2018, 11:01 AM
RE: Installing Tensorflow - by Scott - Jun-03-2018, 07:28 PM
RE: Installing Tensorflow - by ljmetzger - Jun-03-2018, 08:20 PM
RE: Installing Tensorflow - by wavic - Jun-03-2018, 09:28 PM
RE: Installing Tensorflow - by Scott - Jun-03-2018, 10:04 PM
RE: Installing Tensorflow - by wavic - Jun-03-2018, 10:07 PM
RE: Installing Tensorflow - by snippsat - Jun-03-2018, 10:58 PM
RE: Installing Tensorflow - by Scott - Jun-04-2018, 12:01 AM
RE: Installing Tensorflow - by snippsat - Jun-04-2018, 12:31 AM
RE: Installing Tensorflow - by Scott - Jun-04-2018, 12:52 AM
RE: Installing Tensorflow - by snippsat - Jun-04-2018, 12:56 AM
RE: Installing Tensorflow - by Scott - Jun-04-2018, 04:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing tensorflow Blue Dog 7 5,305 Nov-10-2019, 11:54 PM
Last Post: snippsat
  Installing Tensorflow-GPU Help junzhi 1 3,315 Oct-04-2018, 12:40 PM
Last Post: Larz60+
  Installing Tensorflow-GPU junzhi 2 3,837 Sep-30-2018, 07:43 AM
Last Post: junzhi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020