简体   繁体   中英

How to install older version of Tensorflow?

I follow this tutorial. He uses Tensorflow 1.10.0. I should use that version too. Because tutorial is not compatible with newer versions of Tensorflow.

So,when I open Anaconda Prompt and write

pip3 install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.10.0-py3-none-any.whl

to base and I see this long error message. How can install Tensorflow 1.10.0?

I also tried:

conda create --name="tfold" python=3.7
conda activate tfold
pip install tensorflow==1.10.0

and I see this error message:

ERROR: Could not find a version that satisfies the requirement tensorflow==1.10.0 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.10.0

EDIT: The oldest version compatible with Python 3.7 is 1.13. I installed Python 3.6. Then, I installed it using conda create -n test_env tensorflow=1.10.0

I think the problem is because you are using python3.7

Try using pip and not pip3

Set python=2.7 and use pip install tensorflow==1.10, it worked fine for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM