-
-
Save jeffg-dev/28e0fe58644b8af48f97a3e18fe08302 to your computer and use it in GitHub Desktop.
| Install TensorFlow (CPU), Keras, and some other tools to a new anaconda environment. | |
| Open Anaconda Prompt | |
| conda create --name tensorflow35 python=3.5 | |
| conda activate tensorflow35 | |
| conda install jupyter | |
| conda install scipy | |
| conda install spyder | |
| pip install tensorflow | |
| pip install pyyaml h5py | |
| pip install keras | |
| pip install opencv-python | |
| pip install matplotlib seaborn argparse |
For Mac users, you typically have to use the CPU version directly from the URL. This worked for me (Python 3.6)
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.3.0-py3-none-any.whl
@dear983604 you actually need to use source activate tensorflow35 to activate the virtual environment. @jeffgreenca thanks for this. Just stumbled upon and it looks interesting.
@jeffgreenca simple and to the point -- [i for i in "thank you"]
@majacaci00 Ha! Thank you!
You can use conda install -c hesi_m keras to install the latest version of Keras (2.1.6) and Tensorflow(1.8) for you.
Now, You can use conda install -c hesi_m keras to install the latest version of Keras (2.2.0) and Tensorflow(1.8.0) for you.
@VanitarNordic, this command still install tensorflow(1.1.0)
@dear983604 I am not sure, but you might check this fork to see if it works for you instead: https://gist.github.com/parrondo/612f79d4a5e302467270be54d2260b07