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è)問(wèn)題都十分的簡(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、打開(kāi)CMD,先輸入activate,回車。
2、然后再conda activate xxx ,回車 。
注:(xxx是你的環(huán)境名或你的環(huán)境所在路徑)
相關(guān)文章:
1. 如何在電腦PC上啟動(dòng)Windows11和Linux雙系統(tǒng)2. CentOS7.3怎么安裝?使用DVD ISO鏡像安裝CentOS7.3的方法3. Windows10快速啟動(dòng)欄不見(jiàn)了的解決方案4. 重裝Win7系統(tǒng)時(shí)出現(xiàn)ghosterr該如何解決5. WinXP下安裝Win7雙系統(tǒng)詳細(xì)教程6. Win10網(wǎng)絡(luò)共享找不到其它電腦怎么辦?7. Win11如何查看TPM2.0模塊?Win11查看TPM2.0模塊方法8. 微軟 Win11 首個(gè) Canary 預(yù)覽版 25314 推送 附更新內(nèi)容和升級(jí)方法9. Win10系統(tǒng)開(kāi)機(jī)黑屏試過(guò)很多方法都不管用該怎么辦?10. WinXP系統(tǒng)怎么隱藏回收站圖標(biāo)?
