Win10使用anaconda的conda activate激活環境時報錯怎么辦?
Win10系統是現在大家都在使用的系統,最近有用戶使用anaconda的conda activate激活環境時,遇到了報錯的情況,這是什么原因呢?原因是之前激活了conda的環境沒有用 conda deactivate 退出環境,但是問題是我使用conda deactivate會繼續出現上述bug,下面小編為大家帶來詳細的解決方法,一起來看看吧!
報錯內容:
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數據工作室」的原創文章,原文鏈接:https://blog.csdn.net/weixin_45941288/article/details/115544665
相關文章:
1. 統信uos操作系統怎么激活? 統信UOS系統家庭版激活教程2. Unix文件系統和pwd命令實現詳解3. Windows 注冊表LastKey鍵值的設置技巧4. 微軟發現蘋果 macOS 漏洞 可植入惡意軟件5. 如何在電腦PC上啟動Windows11和Linux雙系統6. CentOS上的安全防護軟件Selinux詳解7. UOS文檔查看器怎么添加書簽? UOS添加書簽的三種方法8. deepin20時間顯示不準確怎么調整? deepin時間校正方法9. 統信uos系統怎么進行打印測試頁和刪除打印機?10. VMware Workstation虛擬機安裝VMware vSphere 8.0(esxi)詳細教程