Created
July 31, 2017 09:38
-
-
Save grandadmiral-thrawn/f0c4beeb27643057efc5b4700372e61e to your computer and use it in GitHub Desktop.
tensor-flow install python3.4 + with conda and gpu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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