成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久

您的位置:首頁技術文章
文章詳情頁

Win10系統中使用anaconda的conda activate激活環境時報錯應該怎么解決?

瀏覽:94日期:2022-07-30 09:15:19

許多編程人員在Windows 10系統中使用anaconda的conda activate激活環境時都出現了報錯這是什么情況呢?其實想要解決這個問題都十分的簡單,下面小編就為大家講解一下到底該怎么操作吧!

Win10系統中使用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是你的環境名或你的環境所在路徑)

標簽: Windows系統 win10
相關文章: