熱搜:win11繞過(guò)硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤(pán)啟動(dòng)盤(pán) 真正純凈版的win7系統(tǒng)
時(shí)間:2021-06-05 10:02:36 作者:辰奕 來(lái)源:系統(tǒng)之家 1. 掃描二維碼隨時(shí)看資訊 2. 請(qǐng)使用手機(jī)瀏覽器訪問(wèn): https://m.xitongzhijia.net/xtjc/20210605/213587.html 手機(jī)查看 評(pí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,回車(chē)。
2、然后再conda activate xxx ,回車(chē) 。
注:(xxx是你的環(huán)境名或你的環(huán)境所在路徑)
發(fā)表評(píng)論
共0條
評(píng)論就這些咯,讓大家也知道你的獨(dú)特見(jiàn)解
立即評(píng)論以上留言僅代表用戶個(gè)人觀點(diǎn),不代表系統(tǒng)之家立場(chǎng)