anaconda深度学习环境配置(python3.6,tf1.8,keras2.1.5)

anaconda安装

在这里插入图片描述在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

换源

在这里插入代码片conda 切换源为清华的,加快下载速度
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

  1. 1. 建立conda虚拟环境 ,conda create -n py36 python=3.6 anaconda;
  2. 进入刚刚创建的虚拟环境 activate py36;
  3. conda install tensorflow==1.8.0 ;
  4. 如果安装gpu版本,conda install tensorflow-gpu==1.8.0,然后conda install cuda,conda install cupy;
  5. conda install keras==2.1.5;
  6. conda install nltk==3.2.5;
  7. conda install pillow==5.0.0;
  8. conda install opencv==3.4.1;
  9. conda install numpy=1.14.0。
  10. pip install tqdm ;
  11. pip install sklearn ;
  12. pip install matplotlib;(然后后面加-i https://pypi.tuna.tsinghua.edu.cn/simple ,pip下载的速度会飞快)

在这里插入图片描述
参考博客
https://blog.csdn.net/sinat_28442665/article/details/86658593

发布了13 篇原创文章 · 获赞 5 · 访问量 1019

猜你喜欢

转载自blog.csdn.net/weixin_44868057/article/details/104939181