-
-
Save jeffgreenca/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 |
when I conduct "conda activate tensorflow35"
it showed "CommandNotFoundError: 'activate'
and I tried "activate tensorflow35" it works
then after I finished all the installation and click the icon which is "IPython(tensorflow35)"
it popped out and disappear...seems nothing inside..(so do other items)
I use administrator authority to install these
did I do something wrong?
@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
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)
Thank you very much for providing the above piece of information