Rajitha Perera
Rajitha Perera

Reputation: 1621

How to update Tensorflow on mac?

My current Tensorflow version is 0.10.0. I need to update it to latest version.Latest one is 1.0.0.Is there any method that I can use in terminal?

This is the python code which I used to find version

 import tensorflow as tf;
 print(tf.__version__);

Upvotes: 8

Views: 13492

Answers (2)

kmario23
kmario23

Reputation: 61305

In anaconda cloud, first pick a channel which has the latest version of tensorflow binary. The latest versions are usually available at the channel conda-forge

conda update -f -c conda-forge tensorflow

This will upgrade your installation to the very latest version available. As of this writing version 1.4.0-py36_0

Upvotes: 1

umutto
umutto

Reputation: 7690

If you are using anaconda;

>conda update tensorflow

If you are using pip;

>pip install tensorflow --upgrade

If you want to force install 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

Upvotes: 16

Related Questions