180801 Anaconda安装及添加清华Pytorch镜像

版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/qq_33039859/article/details/81328805
  • Anaconda安装
bash Anaconda2-4.4.0-Linux-x86_64.sh
  • 添加清华镜像
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
  • 添加Pytorch镜像
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

# for legacy win-64
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/peterjc123/
  • Pytorch安装
conda install pytorch
  • tensorflow 安装
pip install tensorflow==1.4.1
  • keras 安装
pip install keras==2.1.0

keras-preprocessing 1.0.2 has requirement keras>=2.1.6, but you’ll have keras 2.1.0 which is incompatible.
keras-applications 1.0.4 has requirement keras>=2.1.6, but you’ll have keras 2.1.0 which is incompatible.

  • 更新h5py
pip install h5py==2.8.0rc1

猜你喜欢

转载自blog.csdn.net/qq_33039859/article/details/81328805