安装TensorFlow
先下载Anaconda
https://www.anaconda.com/distribution/#download-section
安装TensorFlow
先设置Anaconda的下载源:
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/
conda config --set show_channel_urls yes
安装
conda create -n tensorflow python=3.7
激活空间,并且安装
conda activate tensorflow
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
装好了再
conda list查看是否有tensorFlow
TensorFlow中安装模块
安装模块:
打开anaconda prompt不是cmd
conda activate tensorflow 进入工作空间
然后 conda install xxx