Skip to content

Instantly share code, notes, and snippets.

@gaebor
Last active September 8, 2016 11:53
Show Gist options
  • Save gaebor/f6ef7e1bf7d0a1b74bdb24dace692137 to your computer and use it in GitHub Desktop.
Save gaebor/f6ef7e1bf7d0a1b74bdb24dace692137 to your computer and use it in GitHub Desktop.
tensorflow install
# the script assumes OpenBlas and Cuda installation
# make sure to have these in PATH (maybe not all are necessary)
# /usr/local/bin
# /usr/bin
# /bin
# /usr/local/cuda/
# /usr/local/cuda/bin
virtualenv tensorflow
source tensorflow/bin/activate
pip install --upgrade pip
pip install --upgrade numpy scipy
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.10.0-cp27-none-linux_x86_64.whl
# test
python -c "import numpy; numpy.__config__.show(); import tensorflow"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment