熱搜:win11繞過(guò)硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動(dòng)盤 真正純凈版的win7系統(tǒng)
時(shí)間:2021-05-25 14:29:48 作者:小敏敏 來(lái)源:系統(tǒng)之家 1. 掃描二維碼隨時(shí)看資訊 2. 請(qǐng)使用手機(jī)瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20210525/212095.html 手機(jī)查看 評(píng)論 反饋
大。4.66 GB類別:Windows 10系統(tǒng)
Win10系統(tǒng)是現(xiàn)在大家都在使用的系統(tǒng),最近有用戶使用anaconda的conda activate激活環(huán)境時(shí),遇到了報(bào)錯(cuò)的情況,這是什么原因呢?原因是之前激活了conda的環(huán)境沒有用 conda deactivate 退出環(huán)境,但是問題是我使用conda deactivate會(huì)繼續(xù)出現(xiàn)上述bug,下面小編為大家?guī)?lái)詳細(xì)的解決方法,一起來(lái)看看吧!
報(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 ,回車 。
聲明:本文為CSDN博主「DK數(shù)據(jù)工作室」的原創(chuàng)文章,原文鏈接:https://blog.csdn.net/weixin_45941288/article/details/115544665
發(fā)表評(píng)論
共0條
評(píng)論就這些咯,讓大家也知道你的獨(dú)特見解
立即評(píng)論以上留言僅代表用戶個(gè)人觀點(diǎn),不代表系統(tǒng)之家立場(chǎng)