question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to activate ms-python.python

See original GitHub issue
  • Web Browser: Chrome Version 83.0.4103.97 & Firefox 77.0
  • Local OS: MacOS 10.13.6
  • Remote OS: Ubuntu 18.04.3 LTS
  • Remote Architecture: amd64
  • code-server --version: 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259

  • code-server installed using .deb package
  • Tried installing extension via code-server --install-extension and the gui. Neither seems to work.

Traceback

Activating extension 'ms-python.python' failed: Cannot find module '/home/meain/.local/share/code-server/extensions/ms-python.python-2020.5.2/out/client/extension'
Require stack:
- /usr/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js. workbench.web.api.js:3851:320
Full
Activating extension 'ms-python.python' failed: Cannot find module '/root/.local/share/code-server/extensions/ms-python.python-2020.5.2/out/client/extension'
Require stack:
- /usr/lib/code-server/lib/vscode/out/vs/loader.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-amd.js
- /usr/lib/code-server/lib/vscode/out/bootstrap-fork.js. workbench.web.api.js:3851:320
    _logMessageInConsole http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3851
    _logOrShowMessage http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3851
    $onExtensionActivationError http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3979
    _doInvokeHandler http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3959
    _invokeHandler http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3959
    _receiveRequest http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3957
    _receiveOneMessage http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3956
    e http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:3954
    fire http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:95
    fire http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:404
    _receiveMessage http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:409
    <anonymous> http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:406
    fire http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:95
    acceptChunk http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:402
    g http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:401
    onData http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:1751
    fire http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:95
    onload http://35.223.194.183:8080/static/48f7c2724827e526eeaa6c2c151c520f48a61259/lib/vscode/out/vs/workbench/workbench.web.api.js:1750

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

8reactions
keiththompscommented, Jun 11, 2020

Hi, if you have version 2020.5.2 then you’ll have issues. Right-click the extension in the sidebar and select “Install Another Version” and select the next most recently released version (probably 2020.5.80290.

1reaction
nhooyrcommented, Jun 13, 2020

Looks like it was a bug in our marketplace scraper.

@cmoog has the details

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot activate the 'Python' extension because it depends on ...
When connecting remotely, MS Python extension does not start and gives the error: Cannot activate the 'Python' extension because it depends on the...
Read more >
Unable to install extension 'ms-python.python' on latest MacOS
I have explicitly set python3 to use brew (i.e. "python.pythonPath": "/opt/homebrew/bin/python3" ). Upon installation of the ms-python.python ...
Read more >
Python - Visual Studio Marketplace
Extension for Visual Studio Code - IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, ...
Read more >
Install Python support - Visual Studio (Windows)
Example error: Failed to start interactive process: System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc0000135) at Microsoft.
Read more >
Visual studio code python extension error - Stack Overflow
You should go through standard troubleshooting procedures like uninstalling and reinstalling ms-python.python. Check if you have multiple python ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found