Can I update TensorFlow in Anaconda?
10,525
Tensorflow 1.14 is the latest release for the time being. If you wanna install a specific version
conda install tensorflow=1.5.0
The problem is that tensorflow 1.5 is not compatible with Python 3.7 before 1.13.0rc1.
If you need version 1.5.0
, you need to create a virtual environment with Python 3.6 using conda
.
conda create -n py36 python=3.6
conda activate py36
conda install tensorflow=1.5.0
# you can also install tensorflow using pip
# choose the package manager you want
conda install tensorflow==1.5.0
Note: Don't use pip
and conda
to install pkg at the same time in one environment. Check Using Pip in a Conda Environment for more info.
Related videos on Youtube
Author by
Fernando Schimidt
Updated on June 04, 2022Comments
-
Fernando Schimidt almost 2 years
I have Anaconda under Windows 8.1, Python 3.7 e TensorFlow 1.14. I tried some pip commands but the 1.14 is the only version installed of TensorFlow. There are other ways to update, for example, version 1.5 ?
Thank a lot for any help!
-
merv over 4 yearsWhat did you try? What happened when you did? Do you really mean "version 1.5"? i.e., you want to downgrade TensorFlow?
-
Simba over 4 yearsPossible duplicate of Installing specific package versions with pip
-
-
Fernando Schimidt over 4 yearsHello Simba, Unfortunately I got this answer: scontent.fgyn2-1.fna.fbcdn.net/v/t1.0-9/…
-
Simba over 4 years@FernandoSchimidt Sorry, I didn't notice that tensorflow 1.5.0 is not compatible with python 3.7. I've updated my answer about the problem.
-
Fernando Schimidt over 4 yearsHello Simba, Can I get problemns with a virtual environment with Python 3.6 and the installed Python 3.7 at the same computer? Thank you for your help!