centos7安装anaconda3及Python3.7环境配置记录

1.centos7最小化安装一些功能没有先安装yum install wget

2.wget  https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh

3.在已创建的download下bash https://repo.anaconda.com/archive/Anaconda3-2018.12-Linux-x86_64.sh

4.安装过程点enter,及yes;若无bzip2,则yum -y install bzip2

5.载入环境 (我实在根目录下输入的):source  /root/anaconda3/etc/profile.d/conda.sh

6.输入conda -V查看版本

到此anaconda3安装完毕

Python3.7与Python2.7环境切换

1.conda create --name python37 python3.7(创建Python3.7环境)(参考https://blog.csdn.net/knidly/article/details/80327166)

2.conda activate python37(激活环境)

3.conda deactivate(取消Python3.7环境)

碎片记录,以便以后回顾。(转载请注明:https://blog.csdn.net/better_strong/article/details/87785)

 

你可能感兴趣的:(centos7安装anaconda3及Python3.7环境配置记录)