Difference between revisions of "Installing TensorFlow"

From edegan.com
Jump to navigation Jump to search
Line 1: Line 1:
 +
=Old=
 
Currently installed with Anaconda Python 3.
 
Currently installed with Anaconda Python 3.
  
Line 12: Line 13:
  
 
https://stackoverflow.com/questions/46499808/pip-throws-typeerror-parse-got-an-unexpected-keyword-argument-transport-enco#_=_
 
https://stackoverflow.com/questions/46499808/pip-throws-typeerror-parse-got-an-unexpected-keyword-argument-transport-enco#_=_
 +
 +
=New (by Wei and Minh)=
 +
*Followed this instruction here: https://www.tensorflow.org/install/install_linux#InstallingVirtualenv and install tensorflow with Wei. Specific is below.
 +
*1. Installed CUDA Toolkit 9.0 Base Installer. The toolkit is in
 +
/usr/local/cuda-9.0
 +
for the toolkit.
 +
Did NOT install NVDIA accelerated Graphics Driver for Linux-x86_64 384.81 (We believe we have a different graphic driver. we have a much Newer version(396.26)).
 +
Installed the CUDA 9.0 samples in
 +
HOME/MCNAIR/CUDA-SAMPLES.
 +
*2. Installed Patch 1, 2 and 3. The command to install was
 +
sudo sh cuda 9.0.176.2 linux.run # (9.0.176.1 for patch 1 and 9.0.176.3 for patch 3)
 +
*3. This was supposed to be what to do next:
 +
"""
 +
Set up the environment variables:
 +
The PATH variable needs to include /usr/local/cuda-9.0/bin
 +
To add this path to the PATH variable:
 +
$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}
 +
In addition, when using the runfile installation method, the LD_LIBRARY_PATH variable needs to contain /usr/local/cuda-9.0/lib64 on a 64-bit system
 +
To change the environment variables for 64-bit operating systems:
 +
$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
 +
Note that the above paths change when using a custom install path with the runfile installation method.
 +
"""

Revision as of 16:39, 12 July 2018

Old

Currently installed with Anaconda Python 3.

https://stackoverflow.com/questions/36355073/upgrading-numpy-fails-with-permission-denied-error

https://www.tensorflow.org/install/install_windows

with cpu support only

https://www.tensorflow.org/install/install_linux

need to logoff other users via server manager

https://stackoverflow.com/questions/46499808/pip-throws-typeerror-parse-got-an-unexpected-keyword-argument-transport-enco#_=_

New (by Wei and Minh)

/usr/local/cuda-9.0 

for the toolkit. Did NOT install NVDIA accelerated Graphics Driver for Linux-x86_64 384.81 (We believe we have a different graphic driver. we have a much Newer version(396.26)). Installed the CUDA 9.0 samples in

HOME/MCNAIR/CUDA-SAMPLES.
  • 2. Installed Patch 1, 2 and 3. The command to install was
sudo sh cuda 9.0.176.2 linux.run # (9.0.176.1 for patch 1 and 9.0.176.3 for patch 3)
  • 3. This was supposed to be what to do next:

""" Set up the environment variables: The PATH variable needs to include /usr/local/cuda-9.0/bin To add this path to the PATH variable:

$ export PATH=/usr/local/cuda-9.0/bin${PATH:+:${PATH}}

In addition, when using the runfile installation method, the LD_LIBRARY_PATH variable needs to contain /usr/local/cuda-9.0/lib64 on a 64-bit system To change the environment variables for 64-bit operating systems:

$ export LD_LIBRARY_PATH=/usr/local/cuda-9.0/lib64\${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

Note that the above paths change when using a custom install path with the runfile installation method. """