Problem with Lint Packages


#1

Hi,

I’m new to Atom and coding. I’m learning Python and found Atom makes it easier to learn. I’ve installed multiple Lint packages but get similar error messages when there’s an error in my code.

Thanks in advance!

Current Lint Package: linter-pylint
System: Lenovo Ulra Book - Windows 10 64 bit
Python Version: 3.4.3
Error:
Error: spawn pylint ENOENT
Error: spawn pylint ENOENT
at getENOENTError (C:\Users\Ebrahim.atom\packages\linter-pylint\node_modules\sb-exec\lib\helpers.js:159:15)
at ChildProcess. (C:\Users\Ebrahim.atom\packages\linter-pylint\node_modules\sb-exec\lib\index.js:50:46)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

Screen shot:


#2

ENOENT is the error code for “Error - No Entry” … as in, it can’t find the pylint executable. You may want to check out the linter-pylint README on how to tell linter-pylint how to find where you installed pylint.


#3

Looks like Pylint wasn’t installed correctly or I needed the upgraded verision. I originally installed it from Install section within Atom.

After installing and upgrading (See below) and then reinstalling within Atom it now works.

Thank you!

C:\Users\Ebrahim>python -m pip install pylint
Collecting pylint
Downloading pylint-1.6.4-py2.py3-none-any.whl (569kB)
100% |################################| 573kB 825kB/s
Collecting mccabe (from pylint)
Downloading mccabe-0.5.2-py2.py3-none-any.whl
Collecting isort>=4.2.5 (from pylint)
Downloading isort-4.2.5-py2.py3-none-any.whl (40kB)
100% |################################| 40kB 2.6MB/s
Collecting colorama (from pylint)
Downloading colorama-0.3.7-py2.py3-none-any.whl
Collecting six (from pylint)
Downloading six-1.10.0-py2.py3-none-any.whl
Collecting astroid<1.5.0,>=1.4.5 (from pylint)
Downloading astroid-1.4.8-py2.py3-none-any.whl (213kB)
100% |################################| 215kB 943kB/s
Collecting wrapt (from astroid<1.5.0,>=1.4.5->pylint)
Downloading wrapt-1.10.8.tar.gz
Collecting lazy-object-proxy (from astroid<1.5.0,>=1.4.5->pylint)
Downloading lazy_object_proxy-1.2.2-cp35-cp35m-win32.whl
Installing collected packages: mccabe, isort, colorama, six, wrapt, lazy-object-proxy, astroid, pylint
Running setup.py install for wrapt … done
Successfully installed astroid-1.4.8 colorama-0.3.7 isort-4.2.5 lazy-object-proxy-1.2.2 mccabe-0.5.2 pylint-1.6.4 six-1.10.0 wrapt-1.10.8
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\Users\Ebrahim>python -m pip install --upgrade pip
Collecting pip
Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB)
100% |################################| 1.2MB 567kB/s
Installing collected packages: pip
Found existing installation: pip 8.1.1
Uninstalling pip-8.1.1:
Successfully uninstalled pip-8.1.1
Successfully installed pip-8.1.2