Force Anaconda to install tensorflow 1.14

51,132

Solution 1

You can force installing a certain version of any package found on Anaconda using simply an = operator with the package version attached to it.

So, if you want to install tensorflow 1.14, you can run the following command:

conda install -c conda-forge tensorflow=1.14

You can replace 1.14 with any other versions. To see the available versions of tensorflow on Anaconda, you can run:

conda search tensorflow

Solution 2

first find the python version of tensorflow==1.14.0, then find the Anaconda version by python version.

e.g. tensorflow 1.14.0 can work well on python36, and Anaconda 3.5.1 has python36. So install the Anaconda 3.5.1, then install tensorflow==1.14.0 by pip

Share:
51,132

Related videos on Youtube

Anwarvic
Author by

Anwarvic

till now, I'm nothin'

Updated on November 14, 2021

Comments

  • Anwarvic
    Anwarvic over 2 years

    Now, the official TensorFlow on Anaconda is 2.0. My question is how to force Anaconda to install an earlier version of TensorFlow instead. So, for example, I would like Anaconda to install TensorFlow 1.14 as plenty of my projects are depending on this version.

  • Mona Jalal
    Mona Jalal almost 4 years
    pastebin.com/raw/BuDBwA3F got a segmentation fault for this