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

Failure: executable "/Users/tom/opt/anaconda3/bin/pylint" not found (again) #89

Open fzyzcjy opened 2 years ago

fzyzcjy commented 2 years ago

Step 1: Are you in the right place?

80 and #34 does not help :(

Step 2: Describe your environment

Step 3: Describe the problem:

Steps to reproduce:

  1. install plugin
  2. run it

Observed Results:

Hi thanks for the plugin! But I cannot configure it to work...

I am using anaconda's base environment. I have used pip install pylint to install pylint to that environment. For example,

(base) ➜  ✗ which pylint
/Users/tom/opt/anaconda3/bin/pylint
(base) ➜  ✗ pylint --version
pylint 2.12.2
astroid 2.9.3
Python 3.7.6 (default, Jan  8 2020, 13:42:34) 
[Clang 4.0.1 (tags/RELEASE_401/final)]

In addition, I have configured python to be the same. Some related screenshots:

image image image image

However, it still has errors:

10:53 上午    Pylint Plugin: Failure: executable "/Users/tom/opt/anaconda3/bin/pylint" not found

or

11:02 上午    Pylint Plugin (Unable to run Pylint)
                    Pylint is installed inside the project environment but the plugin is not able to run it. If you just installed it try to run File -> Synchronize or restart your IDE. If the problem persists you may need to manually enter the path to the Pylint executable inside the Plugin settings.

Thanks for any suggestions!

Expected Results:

Relevant Code:

System.out.println("Hello, world!");
java.lang.RuntimeException: This is an example Exception log
    at com.leinardi.HelloWorld
    at com.leinardi.HelloWorld$ThisIsNotARealLog
    at bigcorporate.app.Instrumentation.callActivityOnResume(Instrumentation.kt)