C:\Users\12199>conda info --envs
# conda environments:
#
kr C:\Users\12199\.conda\envs\kr
tf2x C:\Users\12199\.conda\envs\tf2x
base * D:\BaiduNetdiskDownload\anaconda
C:\Users\12199>conda activate D:\BaiduNetdiskDownload\anaconda
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'.
C:\Users\12199>CALL conda.bat activate
(base) C:\Users\12199>conda activate
(base) C:\Users\12199>python
Python 3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
更多推荐
python的激活问题
发布评论