leinardi / pylint-pycharm

A plugin providing both real-time and on-demand scanning of Python files with PyLint from within PyCharm/IDEA.
Apache License 2.0
199 stars 36 forks source link

Pylint Plugin: Failure: executable "/usr/bin/pylint" not found #80

Closed MonsieurBerthier closed 3 years ago

MonsieurBerthier commented 3 years ago

Step 1: Are you in the right place?

Step 2: Describe your environment

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:

Expected Results:

Relevant Code:

$ which pylint
/usr/bin/pylint
SergeyKapshuchenko commented 3 years ago

same problem, any suggestions ?

MonsieurBerthier commented 3 years ago

Unfortunately, I have no workaround for now. Please let me know if you find something!

SergeyKapshuchenko commented 3 years ago

@MrBerthier so I've fixed it

  1. pip uninstall pylint
  2. delete folders "pylint" and "pylint-{version}.dist-info" in your virtual environment /venv/lib/python{version}/...
  3. try to pip install pylint again

Now everything works fine

MonsieurBerthier commented 3 years ago

Thanks!

fzyzcjy commented 2 years ago

I am facing the same problem in https://github.com/leinardi/pylint-pycharm/issues/89. Could you please provide some suggestions?

ewagner-verta commented 1 year ago

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