Created
March 29, 2017 00:45
-
-
Save jeffgreenca/28e0fe58644b8af48f97a3e18fe08302 to your computer and use it in GitHub Desktop.
Anaconda Keras / TensorFlow environment setup
This file contains hidden or 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
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 |
@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)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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