Win10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時(shí)報(bào)錯(cuò)應(yīng)該怎么解決?
許多編程人員在Windows 10系統(tǒng)中使用anaconda的conda activate激活環(huán)境時(shí)都出現(xiàn)了報(bào)錯(cuò)這是什么情況呢?其實(shí)想要解決這個(gè)問題都十分的簡(jiǎn)單,下面小編就為大家講解一下到底該怎么操作吧!
報(bào)錯(cuò)內(nèi)容:
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是你的環(huán)境名或你的環(huán)境所在路徑)
相關(guān)文章:
1. 如何在電腦PC上啟動(dòng)Windows11和Linux雙系統(tǒng)2. win11系統(tǒng)變慢甚至崩潰問題曝光 解決方案在這3. Win10激活顯示許可證激活(slui.exe)失敗錯(cuò)誤代碼hr=0xC004F074怎么辦?4. 如何純凈安裝win10系統(tǒng)?uefi模式下純凈安裝win10系統(tǒng)圖文教程5. Windows Modules Installer Worker是什么進(jìn)程?硬盤占用100%的原因分析6. Win10無法卸載更新(右鍵不顯示卸載)如何解決?7. Fdisk硬盤分區(qū)圖文教程(超詳細(xì))8. UOS系統(tǒng)怎么更新? UOS更新系統(tǒng)的圖文教程9. 統(tǒng)信uos系統(tǒng)怎么進(jìn)行打印測(cè)試頁(yè)和刪除打印機(jī)?10. Debian11怎么結(jié)束進(jìn)程? Debian殺死進(jìn)程的技巧
