How to update Tensorflow on Mac?

My current version of Tensorflow is 0.10.0. I need to update it to the latest version. The most recent is 1.0.0. Is there any method that I can use in terminal?

This is the python code I used to search for the version

 import tensorflow as tf;
 print(tf.__version__);
+4
source share
2 answers

If you are using anaconda;

>conda update tensorflow

If you use pip;

>pip install tensorflow --upgrade

If you want to force a specific version on conda;

>conda install tensorflow=1.0.0

If you want to force install a specific version on pip,

>pip install 'tensorflow==1.0.0' --force-reinstall
+11
source

In the anaconda cloud, first select a channel that has the latest tensorflow binary. Latest versions are usually available on the channel.conda-forge

conda update -f -c conda-forge tensorflow

. 1.4.0-py36_0

+1

Source: https://habr.com/ru/post/1671012/


All Articles