Pylint not found in spite of being installed and in shell PATH #30
Comments
Hmm, I have no idea why the path in Node was wrong, but I figured out I can give the path to pylint in settings. That worked. Thanks for the nice package! :) |
Pylint used to be working for me, but doesn't anymore oddly enough. Specifying it manually fixed it in my case as well. I'm on OS X Yosemite. |
I have the same problem. |
On OSX, I fixed this by doing:
I would have thought the |
I'm using Windows 8.1 and have Pylint install and in my path. If I open Atom from the terminal then everything is fine. However if I open atom from the Desktop Icon then Atom doesn't find Pylint :( |
It appears that everyone on this thread has found a reasonable workaround. Closing, but open a new issue if you are having similar problems! |
@JonnyCBB that is a known issue with Atom - there is no ETA on the fix to my knowledge. |
@MatthewHerbst do you have an upstream issue # handy (for folks that want to track it)? I could only find atom/atom#4126 which is marked as mac-specific. thx! |
@SpainTrain I should have added the Mac clarification - it's unclear to me if the issue is present on Windows or Linux environments. The ticket you found, in addition to atom/atom#6956, are the ones that people should be watching I think. |
Thanks @MatthewHerbst. In particular, the workaround posted there by @mathiasringhof using |
Thanks @MatthewHerbst for letting me know. |
I'd like to make @abdonrd work around a little clearer because it's simple but for noobs not easy to understand how to arrive at solution. This will fix the error in Atom at least First open a terminal (Linux, Mac, Unixy systems). If pylint is installed then the following will tell you where it is. Use the output of this command to fix the problem.
Copy the output, which for me was "/usr/bin/pylint". Then, in Atom, open Preferences (Settings), go to the Packages Tab on the left and search for the linter-pylint package by typing "pylint" into the search field. Click on the package or the small settings button for that package and scroll to the settings section for the linter-pylint package. The first setting is titled Executable. That's the one you want. Paste the output of the previous command you ran in the terminal into that field. It should now work just fine and dandy. |
This was an easy/obvious fix, but strange because it started out of nowhere after pylint was working in atom for me last week. I don't work much in python, either, so no big changes recently. |
+1 |
@Bosek if you manually specify the path to |
I've also tried to specify executable path. No success. |
So if you enter |
When I paste the path('C:\Python\Scripts\pylint.exe') into the windows console, it work of course. The path is good. |
Installing pylint with the following code
solved my problem on Ubuntu 16.04 |
|
Had the same problem today as Bosek has earlier described. Did not work in Pycharm. Got same error as Bosek. My solution |
I get a following error:
I have
pylint
in/usr/local/bin/pylint
and it works when called from both bash and zsh. When I check theprocess.env.PATH
from the Atom console, it says/usr/bin:/bin:/usr/sbin:/sbin
. I wonder whether this is a bug linter-pylint, in Atom or some issue related to OS X config.The text was updated successfully, but these errors were encountered: