Win10系統中使用anaconda的conda activate激活環境時報錯應該怎么解決?
許多編程人員在Windows 10系統中使用anaconda的conda activate激活環境時都出現了報錯這是什么情況呢?其實想要解決這個問題都十分的簡單,下面小編就為大家講解一下到底該怎么操作吧!
報錯內容:
CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate’。
If using ‘conda activate’ from a batch script, change your
invocation to ‘CALL conda.bat activate’。
To initialize your shell, run
$ conda init 《SHELL_NAME》
Currently supported shells are:
– bash
– cmd.exe
– fish
– tcsh
– xonsh
– zsh
– powershell
See ‘conda init --help’ for more information and options.
IMPORTANT: You may need to close and restart your shell after running ‘conda init’。
解決辦法:
1、打開CMD,先輸入activate,回車。
2、然后再conda activate xxx ,回車 。
注:(xxx是你的環境名或你的環境所在路徑)
相關文章:
1. Win10系統IE瀏覽器首頁被鎖定成360導航怎那么解決?解決的方法介紹2. Win10激活碼在哪里看的詳細介紹3. Win7系統DNS錯誤怎么辦?4. Win7提示“未授予用戶在此計算機上的請求登錄類型”怎么辦?5. 榮耀MagicBook筆記本怎樣安裝win10系統 安裝win10系統方法介紹6. 如何一鍵關閉所有程序?Windows系統電腦快捷關閉所有程序教程7. 華碩飛行堡壘 ZX53V筆記本怎樣安裝win10系統 安裝win10系統操作方法分享8. 元氣壁紙win7非默認主題限制解決方法9. Win10 20H2文件夾隱藏了怎么顯示?10. Win10怎么卸載virtualbox?Win10升級提示立即卸載virtualbox怎么卸載?
