Pylint Plugin: Failure: executable "/usr/bin/pylint" not found
MonsieurBerthier opened this issue · 6 comments
Step 1: Are you in the right place?
- I have verified there are no duplicate active or recent bugs, questions, or requests
- I have verified that I am using the latest version of the plugin.
Step 2: Describe your environment
- Plugin version: 12.2
- PyCharm/IDEA version: 2020.3
- Pylint version: 1.8.3
Step 3: Describe the problem:
Steps to reproduce:
When I start a Pylint check on the current file, I got the following error message : "Pylint Plugin: Failure: executable "/usr/bin/pylint" not found"
For information, my project interpreter is /usr/bin/python3.6 and I am not using any venv.
Observed Results:
-
When I run Pylint in command line in a terminal, it works great.
-
When I go to the plugin settings, Path to Pylint executable displays Auto-detected: /usr/bin/pylint
-
When I click on the button test, I got an error notification telling me that the executable /usr/bin/pylint is not found.
-
When I force Path to Pylint executable to /usr/bin/pylint I have the same issue.
Expected Results:
- Pylint plugin displays the detected problems
Relevant Code:
$ which pylint
/usr/bin/pylint
same problem, any suggestions ?
Unfortunately, I have no workaround for now. Please let me know if you find something!
@MrBerthier so I've fixed it
- pip uninstall pylint
- delete folders "pylint" and "pylint-{version}.dist-info" in your virtual environment /venv/lib/python{version}/...
- try to pip install pylint again
Now everything works fine
Thanks!
Same problem. The plugin simply will not recognize any pylint executable. I've ripped out and reinstalled pylint. I've tried using the local 'usr/local/bin/pylint' with no luck.
PyCharm 2022.2.3, Pylint Plugin 0.14.0