Activating extension 'ms-python.python' failed: command 'python.viewOutput' already exists. workbench.desktop.main.js:2350 Cannot activate the 'Pylance' extension because its dependency 'Python' failed to activate
i tried to edit a python file with vscode and it shows extension activation failed
You should go through standard troubleshooting procedures like uninstalling and reinstalling ms-python.python. Check if you have multiple python extensions installed and that you only have one installed. This might give you a bit more detail.
Try disabling all other python extensions in VSCode. I had the same issue because a different Python VS extension was conflicting with the official extension. Here's a link that might be able to help you in more detail.
It's hard to give you a more specific answer for this type of question without knowing more about your setup.
EDIT: Look at the comment thread on this answer if you need more details
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.