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.

Python extension fails to activate

See original GitHub issue

Edit: the error is

The number of constructor arguments in the derived class s must be >= than the number of constructor arguments of its base class

  • Web Browser: Chrome 83.0.4103.116 (Official Build) (64-bit)
  • Local OS: macOS 10.13.6
  • Remote OS: Clear Linux version 33420
  • Remote Architecture: x86_64
  • code-server --version: 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259

I’ve loaded the Microsoft python extension. Syntax coloring works, but code completion does not. I also get the error “command ‘python.setInterpreter’ not found” when clicking on the python interpreter at the bottom of the window. Remote server python is 3.8.3.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
ProgrammingPlebcommented, Jul 4, 2020

This is actually an extension problem and this version works https://github.com/microsoft/vscode-python/releases/tag/2020.5.86806

Mine works after installing this one.

Source: Issue #1818

4reactions
ducalphacommented, Jan 14, 2021

On code-server 3.8.0 I have to downgrade Python extension to version 2020.10 (the latest version is 2020.12) to make it work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extension Activation failed #18109 - microsoft/vscode-python
Uninstall Python extension (if you have pylance uninstall it first). · Close all instances of VS Code. · Go to, %USERPROFILE%/. · Delete...
Read more >
Visual studio code python extension error - Stack Overflow
Activating extension 'ms-python.
Read more >
Python Extension not working : r/vscode - Reddit
"Cannot activate the 'Pylance' extension because it depends on the 'Python' extension which is not supported in the current workspace".
Read more >
Activation Events | Visual Studio Code Extension API
This activation event is emitted and interested extensions will be activated whenever a file that resolves to a certain language gets opened. ......
Read more >
Error : Unable to activate Robocorp Code extension because ...
Unable to activate Robocorp Code extension because python executable from RCC environment was not provided. – Most common reason is that the ...
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