1.具体报错内容:
usage: conda-script.py [-h] [--no-plugins] [-V] COMMAND ...
conda-script.py: error: argument COMMAND: invalid choice: 'activate' (choose from 'clean', 'compare', 'config', 'create', 'info', 'init', 'install', 'list', 'notices', 'package', 'remove', 'uninstall', 'rename', 'run', 'search', 'update', 'upgrade', 'build', 'convert', 'debug', 'develop', 'doctor', 'index', 'inspect', 'metapackage', 'render', 'skeleton', 'env', 'pack', 'token', 'repo', 'content-trust', 'server', 'verify')
2.原因是因为vscode的默认终端是PowerShell
需要将默认终端改为:Command Prompt
最后需要选择一下:直接点击即可
完成后可发现默认的成了:Command Prompt