Win10系統中使用anaconda的conda activate激活環境時報錯應該怎么解決?
許多編程人員在Windows 10系統中使用anaconda的conda activate激活環境時都出現了報錯這是什么情況呢?其實想要解決這個問題都十分的簡單,下面小編就為大家講解一下到底該怎么操作吧!
報錯內容:
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是你的環境名或你的環境所在路徑)
相關文章:
1. Win8設置同時顯示多個時區時間技巧2. mac安全模式怎么進入? Mac系統進入安全模式方法3. 統信UOS家庭版開始內測 無需分區全自動安裝4. Debian主文件夾怎么隱藏? Debian11 Xfce隱藏桌面主文件夾的技巧5. 統信UOS系統怎么關閉? uos關機的多種方法6. 讓修改過的注冊表快速生效的方法7. CentOS7中無法找到pci find device函數的解決方法8. CentOS 6.6系統怎么安裝?CentOS Linux系統安裝配置圖解教程9. win XP系統的電腦無法連接蘋果手機怎么解決10. centos7使用docker部署gitlab-ce-zh應用詳解
