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.

command 'python.setInterpreter' not found when using code-server > 3.4.1

See original GitHub issue

Hi,

I think my code-server updates the python version (2020.6.88468) automatically, and yesterday I cannot add the python interpreter, the command windows outputs:

Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)

I rolled back the python version, but it does not help. For example, python2020.5.80290 can add the interpreter, but it raises another problem of the debugger

Error: The number of constructor arguments in the derived class s must be >= than the number of constructor arguments of its base class.
    at /root/.local/share/code-server/extensions/ms-python.python-2020.5.80290/out/client/debugger/debugAdapter/main.js:16:49625

The following information is the coder-server version and vs code version:

code-server: v3.4.1
VS Code: v1.45.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:46
  • Comments:28

github_iconTop GitHub Comments

15reactions
kimadelinecommented, Aug 17, 2020

Hi @arseniybanayev, feel free to upvote the issue to help us prioritize it 🙂

11reactions
gauravk88commented, Jun 22, 2020

I found a solution. You have to move to code-server 3.4.1 and then downgrade ms-python to 2020.5.x and all will be good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python select interpreter not found VS Code
Just click on the restricted window on the bottom and just select "Trust" in the pop up window. [https://code.visualstudio.com/docs/editor/ ...
Read more >
Python: Select Interpreter Command Not Found On My ...
Python : Select Interpreter Command Not Found On My Visual Studio Code ... setInterpreter' not found when using codeserver > 3.4.1.
Read more >
Python on Codeserver
I am working on Python and am running code-server 3.4.2. I have installed the Python extension with no issues. However, things are not...
Read more >
VS code server使用_FrankJingle的博客
VS code server使用前言发现了一个可以远程debug代码的神奇,VS code的在线版,code server ... Python:command 'python.setInterpreter' not found.
Read more >
'Visual Studio Code' 태그의 글 목록 - 머가필요해
"command 'python.setInterpreter' not found". 필요한걸 찾을 수가 없단다. 지금 code-server로 구동되고 있는 VSCode와 Extension의 궁합이 맞지 않아 발생하는 에러 ...
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