Pregunta

I am trying to install the Pylinter plugin per many online suggestions. They all mention pointing to the lint.py path. I have searched all over and cannot find where this is. I am using Windows and have searched the OS and cannot find it.

¿Fue útil?

Solución

I strongly suggest checking out SublimeLinter, available through Package Control. It has built-in support for many languages, including excellent coverage for Python, and for many linters doesn't require any external programs. It is also very configurable, with several different icon sets for gutter marks and many config options including language mapping (e.g., "Python Django" is mapped to "python"), setting delays, and options to choose when linting takes place. I highly recommend it over PyLint.

Otros consejos

I think you should install pylint for python first. This url may be help https://pypi.python.org/pypi/pylint. After installing the pylint, you can find the lint.py in the created directory.

For future users with similar issues like this very one:

Sounds like you added it to Sublime Text without installing it...

Assuming everything else is installed, you should be able to remove it from the terminal.

pip install pylint

It should immediately assign and remove the error.

I found mine at C:\Python27\Lib\site-packages\pylint\lint.py. Watch out if you've got multiple Python installations though, mine went to Anaconda and I couldn't find it for ages...

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top