Detailed steps to install the old version of tensorflow on ubuntu

This method is also applicable to other old version libraries.

First of all, as usual, pip downloading the specified version of tensorflow is likely to have the following error:
Insert picture description here
From the above, it seems that the specified old version cannot be downloaded.
At this time, you can download the old version through the following steps.

1. Open's official website, https://pypi.org/
2. Search need to download the library
Insert picture description here
3. Click tensorflow, click Release historyto select the appropriate version of history:
Insert picture description here
and click on Download files
Insert picture description here
the selection of the appropriate version on the right:
Insert picture description here
then click on the link to download

4.pip installation

pip install 下载的whl文件

The following problems may occur:
Insert picture description here

It seems that there is a problem with the installed package, but in fact the installed package version is not suitable.
Note that cp27 means that the installed python version is 2.7, so you can install the appropriate version of the package.

As long as the cp version of whl is the same as the python version in the environment, and the system does not select the wrong one, there is generally no problem. Just install it.

Guess you like

Origin blog.csdn.net/sazass/article/details/109843944