Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install older versions of tensorflow

Tags:

tensorflow

I am trying to install tensorflow 1.3.0 with the following setup:

python 3.6.3
pip 9.0.1
Windows 10 on x64

I have tried running

pip install https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow_jni-cpu-windows-x86_64-1.3.0-rc2.zip

but I get that

Command "python setup.py egg_info" failed with error code 1 in C:\Users\__\AppData\Local\Temp\pip-0dabbj1v-build\

and if I try

pip install tensorflow-1.3.0

I get

  Could not find a version that satisfies the requirement tensorflow-1.3.0 (from versions: )
No matching distribution found for tensorflow-1.3.0

Any idea how I might get this to work? Any idea/tip would be greatly appreciated!

like image 895
KeykoYume Avatar asked Jan 01 '18 10:01

KeykoYume


People also ask

How do I downgrade my TensorFlow version?

The best practice for TensorFlow downgrade is to use the latest version of Python and TensorFlow. Older versions have vulnerability issues, so be cautious when downgrading. Set the version to a lower number than the currently installed release. When choosing, make sure the version is compatible with the Python release.


2 Answers

In https://pypi.python.org/pypi/tensorflow/1.3.0, download .whl of the version you need and install it using pip.

like image 153
LI Xuhong Avatar answered Oct 22 '22 13:10

LI Xuhong


Please Use the following command

pip install tensorflow==<version>

In your case for getting tensorflow 1.3.0, use it likewise

pip install tensorflow==1.3.0
like image 38
shahin Avatar answered Oct 22 '22 13:10

shahin