leinardi / pylint-pycharm

A plugin providing both real-time and on-demand scanning of Python files with PyLint from within PyCharm/IDEA.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

fzyzcjy opened this issue · 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.

#80 and #34 does not help :(

Step 2: Describe your environment

  • Plugin version: latest
  • PyCharm/IDEA version: IDEA 2021.1.3
  • Pylint version: latest

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)