Installation anaconda and tensorflow (windows)

Anaconda Check Enable All User environment variables and installation
can be switched Tsinghua mirror
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ config --add channels Conda
Conda config --add HTTPS channels: //mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
Conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
Conda config - set show_channel_urls yes

anaconda-navigator solutions can not be opened
Conda Update anaconda-navigator
anaconda-navigator --reset
Conda Update Anaconda-Client
Conda -f Anaconda-Client Update


conda create -n tensorflow python=3.7.4
activate tensorflow

View Anaconda in the environment
conda info --envs


In the first cmd in the following two lines
easy_install PIP
PIP install - upgrade PIP
return to Prompt Anaconda
PIP install tensorflow or
pip install --upgrade --ignore-installed tensorflow
If the error timeout, timeout time
pip install --upgrade --ignore -installed tensorflow --default-timeout = 100

After installation is complete, you can test it in a terminal
import tensorflow as tf
reference tensorflow package, if there is no error, the installation is successful, otherwise there will be problems.

Guess you like

Origin www.cnblogs.com/wintersoft/p/11609188.html