Anacodna之conda的使用

yum install -y bunzip2python

wget https://repo.continuum.io/archive/Anaconda2-5.0.1-Linux-x86_64.shgit

chmod +777 Anaconda2-5.0.1-Linux-x86_64.shgithub

bash ./Anaconda2-5.0.1-Linux-x86_64.shflask

*記得重啓終端vim

輸入python 進行python環境 
輸入import scipy ,沒有報錯則安裝成功centos

 centos7.4安裝bash

anaconda安裝
- wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh
- chmod 777 Anaconda3-5.2.0-Linux-x86_64.sh
- ./Anaconda3-5.2.0-Linux-x86_64.sh
- vim ~/.bashrc
- export=/home/works/anaconda3/bin:$PATH
- $rebootcentos7

 

pip install condaspa

  • conda list查看安裝了哪些包
  • conda env list查看有哪些虛擬環境
  • conda -V查看conda的版本

 

 conda  create -n flaskdemo flask python=3.5
經常使用命令
激活 source activate flaskdemo
關閉 source deactivate
改指定虛擬環境安裝包 conda install -n yourenvname package

移除某個環境的包 conda remove --name $ENVIRONMENT_NAME $PACKAGE_NAMEcode

移除某個虛擬環境 conda remove -n yourenvname --all

 

 
相關文章
相關標籤/搜索