Skip to content
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

pylint extension stays disabled in windows 11 vs code after installing and cannot be enabled #582

Closed
shreek1861 opened this issue Dec 5, 2024 · 6 comments
Assignees
Labels
triage-needed Issue is not triaged.

Comments

@shreek1861
Copy link

I do see pylint command working fine from VS code terminal.

pip show pylint
Name: pylint
Version: 3.3.2
Summary: python code static checker
Home-page: https://github.com/pylint-dev/pylint
Author:
Author-email: Python Code Quality Authority [email protected]
License: GPL-2.0-or-later
Location: C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages
Requires: astroid, colorama, dill, isort, mccabe, platformdirs, tomlkit
Required-by:

I also see the following three options are unrecognized in settings.json

"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.lintOnSave": true,

Python extension along with pylance and python debugger extensions are working fine.

Please help.

@github-actions github-actions bot added the triage-needed Issue is not triaged. label Dec 5, 2024
@karthiknadig
Copy link
Member

Can you share a screenshot of the extension from the extension view? There should be a button to enable the extension.

@karthiknadig karthiknadig self-assigned this Dec 5, 2024
@shreek1861
Copy link
Author

Please see attached.. Enable option is disabled.

Image

Image

@karthiknadig
Copy link
Member

Can you show me the pylint page? It is currently showing SSH FS page, I want to see what version of the extension is installed and if there are any update options. What is the version of VS code you have?

@shreek1861
Copy link
Author

Here you go
Image

Image

@karthiknadig
Copy link
Member

Looks like you are using a Virtual workspace. This is not supported by the pylint extension. You need to open this as a normal workspace. Only Pylance will work in this scenario.

@shreek1861
Copy link
Author

ok, thank you for looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

2 participants