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è)問題都十分的簡單,下面小編就為大家講解一下到底該怎么操作吧!

報(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. Windows10正式版攝像頭不能用怎么辦?2. Win10專業(yè)版系統(tǒng)電腦找不到音頻設(shè)備怎么辦?3. Windows10怎么關(guān)閉應(yīng)用商店的免密碼支付?4. Win7電腦注冊表編輯器被管理員禁用怎么解決?5. CentOS7.0怎么設(shè)置屏幕分辨率?6. windows10分辨率在哪里調(diào)試7. Win11哪個(gè)版本最好 Win11系統(tǒng)最好的版本推薦8. WinXP系統(tǒng)LOL打字沒有候選框如何解決?9. Win11打印機(jī)怎么安裝?Win11系統(tǒng)安裝共享打印機(jī)教程10. Win10系統(tǒng)的Edge瀏覽器怎么進(jìn)行長截圖?

網(wǎng)公網(wǎng)安備