Skip to content

Instantly share code, notes, and snippets.

@grandadmiral-thrawn
Created July 31, 2017 09:38
Show Gist options
  • Save grandadmiral-thrawn/f0c4beeb27643057efc5b4700372e61e to your computer and use it in GitHub Desktop.
Save grandadmiral-thrawn/f0c4beeb27643057efc5b4700372e61e to your computer and use it in GitHub Desktop.
tensor-flow install python3.4 + with conda and gpu
#!/usr/bin/bash
# assumes you have conda as your python.
# can replace tensorflow with tensorflow-gpu
# if you've aliased paython3 to python, and pip3 to pip, stop you madness, google is trying to help you and you're forcing the installer to behave weird
conda update setuptools
curl https://bootstrap.pypa.io/ez_setup.py -o - | python
# prior to this installation, I had used, but they didn't work:
# pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.2.1-cp35-cp35m-win_amd64.whl
# pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.2.1-cp35-cp35m-win_amd64.whl
# if you find yours doesn't work, try running those command before the below
pip3 install tensorflow
pip3 install tensorflow-gpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment