-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python extension fails to activate #1837
Comments
I'm having the same issue. I've tried reinstalling the extension and rolling back to an older version. No luck 😢 |
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: microsoft/vscode-python#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 |
This is the python extension version I’m 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. |
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. |
Same on code-server 3.8.1, have to downgrade to 2020.10. (Also the now latest 2021.1 still doesn't work). |
I have the same issue, Have been looking everywhere for a solution, This finally fixed it for me ~ Thank You! |
Hey there - this issue is stale and the latest versions of Python/Jupyter work as of v3.10.2; closing. |
Still an issue here. Activating the extension via the command
|
@jingw222 please open a new bug report issue with repro steps. Thanks! |
Edit: the error is
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.
The text was updated successfully, but these errors were encountered: