linux:miniconda+python环境搭建

1.

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

2.

bash Miniconda3-latest-Linux-x86_64.sh
Miniconda3 will now be installed into this location:
/home/zky/miniconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/home/zky/miniconda3] >>> /mnt/f/linux_zky/conda
PREFIX=/mnt/f/linux_zky/conda

3.

source ~/.bashrc
#conda,这是把conda的环境加入系统的环境变量  
export conda=/root/miniconda3  
export PATH=$PATH:$conda/bin

# 这一步是系统进入conda的默认base环境
source activate

4.

conda update -n base -c defaults conda
conda deactivate
conda update conda
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential

5.安装nginx

你可能感兴趣的:(python,linux,开发语言)