Source Vlad (official account: fulade_me)
First openAnaconda official websiteFind the bottom of the page. Since the latest Anaconda supports Python 3.8, and tesnorflow supports Python 3.7, I specially checked the release time of Python 3.8, so we need to click the
achriveFind the historical version to download.
Click to enter the historical version page of anaconda. We directly search 2020-10-15 and find
Anaconda2-2019.10-Windows-x86_64.exeJust download it.
After downloading, we can directly double-click the installation file to start the installation, and click all the way in the middle process
Set domestic image source
Due to network problems, I need to add a domestic Tsinghua image source here, which will facilitate us to download resources more quickly.
After the installation, we click
WindowsButton, you will see a
Anaconda3(64-bit)This is the folder we installed
AnacondaThen we click
Anaconda Powershell PromptCommand line tools.
After entering the command line tool, enter
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ #Set the channel address to be displayed when searching conda config --set show_channel_urls yes
condaUsing this method, you can view myThe second half of the last blog post
You can use commands
conda config --show, in
channelsField displays the source that has been added
Begin installing tensorflow
We just need to type in the command line tool opened in the previous step
conda install tensorflow
Since we have configured the domestic image source, the installation can be completed soon.
After the installation is completed, we then enter in the open command line tool
import tensorflow as tf tf.__version__
2.1.0That means our installation is correct.
be carefulSince tensorflow is also constantly upgrading, the output here is not necessarily if
2.xThat’s what I’m fighting for.