Closed leinardi closed 5 years ago
Hi @taljaards, do you see any error being reported inside the Event log when that message is shown? Could you please send me the idea.log file (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files) after you get the "Failure: executable not found error"?
Hi. This is what I get in the Event Log in PyCharm itself:
2018/09/25
12:27 Pylint Plugin: Failure: executable "C:\Users\Admin\AppData\Local\Continuum\anaconda3\Scripts\pylint.exe" not found
And then this is my latest IDE log file.
Mmm, inside the log file I see this error:
Java.lang.Throwable: Error while checking Pylint path: File "C:\Users\Admin\AppData\Local\Continuum\anaconda3\Scripts\pylint.exe", line 1
SyntaxError: Non-UTF-8 code starting with '\x90' in file C:\Users\Admin\AppData\Local\Continuum\anaconda3\Scripts\pylint.exe on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
If I get it right, the version of PyLint for Windows that you are using is not specifying the encoding properly.
Can you try to run manually this command in a Windows Shell to see if we can reproduce the issue?
C:\Users\Admin\AppData\Local\Continuum\anaconda3\python.exe C:\Users\Admin\AppData\Local\Continuum\anaconda3\Scripts\pylint.exe --help-msg E1101
And, if you are getting the same error, can you try to run this to see if you get something different?
C:\Users\Admin\AppData\Local\Continuum\anaconda3\python.exe -m C:\Users\Admin\AppData\Local\Continuum\anaconda3\Scripts\pylint.exe --help-msg E1101
EDIT
Mmm, probably on Windows I should not run pylint.exe
with python.exe
...
Ok, I made a new dev build that is executing pylint.exe
directly on Windows, can you please give it a try and let me know if it fixes the issue (please uninstall the current Plugin's version before installing this dev build): pylint-plugin-0.10.1.zip
2018/09/25
14:00 Pylint Plugin: Success: executable found!
It's fixed in your dev build 😊
Glad to hear, I will release a new version soon with this fix :+1:.
@leinardi Hi, I have this problem today.
The Python interpreter is a virtual environment generated by pipenv.
I don't know why the added pictures are not fully displayed and very blurred. You can directly click on the picture to see the original picture, or click here to see the picture
Here is my Pycharm log file
I hope you can help me to find out the reason when you are free. Thank you.
Exactly same issue as that of @whg517 's issue , for me as well, even though the pylint.exe is present in that folder:
Pylint Plugin: Failure: executable "C:/Users/shanmuga.nuthalapati/Desktop/CCoE-MyTeam/ESS/Current Repositories/NEXT/sawtooth-next-directory/ENV/Scripts/pylint.exe" not found
If you are getting a plugin failure, ensure your .pylintrc file is correct. I had an incorrectly named parameter and it caused this error.
I am trying to run pylint file from Bamboo getting below error
Unable to find executable at C:/Users/MaheshSathe/AppData/Local/Programs/Python/Python37-32/python.exe. Will try to run it anyway. -- | --
I too have the same problem as @whg517, I'm running on windows with PyCharm 2019.2 and the Pylint 2.3.1 plugin. The auto-detect looks correct in the text box however when click the test button it fails with 'Failure: executable "c:/project/venv/scripts/pylint.exe" not found.
If I type the auto-detected path into the input field then it still fails.
It's not until I replace forward slash path separators with backslash separators that the test works.
so c:\project\venv\scripts\pylint.exe works successfully.
Is the system failing to find the exe due to the path separators? Should autodetect put the correct path separators for the required operating system?
@dixong Thanks. That worked!
@dixong Thanks - that fixed it for me
@leinardi has this issue been completely solved? Using the latest release from PyCharm's repository of plugins, I get this error with the plugin where it says that it cannot locate Pylint.exe However, Pylint is installed and at that location...
EDIT: Maybe I should rather have posted this to #22...