flycheck cannot find module for pylint

2018-04-16 14:29:05

I have installed flycheck and pylint and want to use pylint for python mode, but when selecting syntax checker with flycheck I get this:

python-pylint (disabled)

- major mode: `python-mode' supported

- may enable: Automatically disabled!

- executable: Found at /usr/bin/python

- configuration file: Found at "/home/tools/.pylintrc"

- `pylint' module: Missing

Flycheck cannot use this syntax checker for this buffer.

and can simply not figure out what is wrong. I have googled but cannot find the answer