User Tools

Site Tools


linux:tensorflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
linux:tensorflow [2019/01/10 14:31] – created jansenlinux:tensorflow [2019/11/01 11:05] – [Method using python 2.7] jansen
Line 5: Line 5:
  
 ===== Method using python 2.7 ===== ===== Method using python 2.7 =====
-Python 2.7 is still available, and tensorflow will work in that environment. has already been installed in a central location, so if python 2 is an option for you, you can use it.+Python 2.7 is still available (for a short while), and tensorflow will work in that environment. It has already been installed in a central location, so if python 2 is an option for you, you can use it.
  
 ===== Method using a python virtualenv: ===== ===== Method using a python virtualenv: =====
Line 13: Line 13:
 here, mypython36 is the name you choose, which will become the directory name where it gets installed. here, mypython36 is the name you choose, which will become the directory name where it gets installed.
   source mypython36/bin/activate.csh   source mypython36/bin/activate.csh
-this is the command to activate the environment. This step needs to be done every time you want to use this special python environemnt.+or for bash: 
 +  source mypython36/bin/activate 
 +this is the command to activate the environment. This step needs to be done every time you want to use this special python environment.
 Inside the environment, 'python' refers to the chosen version 3.6, and the same is true for utilities like 'pip'. So: Inside the environment, 'python' refers to the chosen version 3.6, and the same is true for utilities like 'pip'. So:
   pip install tensorflow   pip install tensorflow
   pip install keras   pip install keras
 +  pip install jupyter
 will install these packages into the newly created environment. will install these packages into the newly created environment.
  
linux/tensorflow.txt · Last modified: 2019/11/12 15:32 by jansen