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
code-server --version: 3.4.1 48f7c2724827e526eeaa6c2c151c520f48a61259I'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.
I'm having the same issue. I've tried reinstalling the extension and rolling back to an older version. No luck :cry:
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
@EzzPrograms that works for me. Reverting to an old version enables the intellisense. thanks
Upstream issue: https://github.com/microsoft/vscode-python/issues/12465
@EzzPrograms can you post the version of the code server and python version you are using. I have downgraded still pylint shows import error
@EzzPrograms can you post the version of the code server and python version you are using. I have downgraded still pylint shows import error
This is the python extension version I鈥檓 using: https://github.com/microsoft/vscode-python/releases/tag/2020.5.86806
For code-server, it should be the latest one.
@EzzPrograms can you post the version of the code server and python version you are using. I have downgraded still pylint shows import error
This is the python extension version I鈥檓 using: https://github.com/microsoft/vscode-python/releases/tag/2020.5.86806
For code-server, it should be the latest one.
finally I got the python extension to work by disabling Jedi (jediEnabled:false) and by setting PYTHONPATH env var . The PYTHONPATH was not getting picked up from the .env file by linter
Now both auto complete and linting works fine
@cmoog Lets revert this extension on the marketplace to the working version.
Most helpful comment
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