Powershell、CMD添加conda init
前言:其實安裝conda時完全不需要在系統中添加環境變量,我們可以使用conda init這種方便的方式。
-
打開powershell
win+R輸入powershell回車
-
進入到你的conda script目錄
cd C:\Users\mayu3\anaconda3\Scripts
-
執行 conda init 命令
對powershell執行conda init
# powershell代表你要執行conda init的shell conda init powershell
對cmd執行conda init
conda init cmd.exe
-
重啟powershell或者cmd
-
補充
# 查看幫助文檔 conda init -h