1.升級
conda update conda
conda update anaconda
conda update anaconda-navigator
2.conda環境使用基本命令:
conda update -n base conda //update最新版本的condaconda create -n xxxx python=3.7 //建立python3.7的xxxx虛擬環境conda activate xxxx //開啟xxxx環境conda deactivate //關閉環境conda env list //顯示所有的虛擬環境
conda remove -n xxxx --all //刪除xxxx虛擬環境
3.更新,解除安裝安裝包:
conda list #檢視已經安裝的檔案包conda list -n xxx #指定檢視xxx虛擬環境下安裝的packageconda update xxx #更新xxx檔案包conda uninstall xxx #解除安裝xxx檔案包
4.清理(conda瘦身)
conda clean -p //刪除沒有用的包