pylint #89633 pylint.bat on Win7 with multiple Python versions [open]

Installed pylint with easy install to my Python2.7 install.

When running pylint.bat I get this exception:
Traceback (most recent call last):
File "C:\Python27\Lib\site-packages\pylint", line 8, in <module>
pkg_resources.run_script('pylint==0.25.1', 'pylint')
File "C:\Python27\Lib\site-packages\", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "C:\Python27\Lib\site-packages\", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "C:\Python27\Lib\site-packages\", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: pylint==0.25.1

Changing pylint.bat line 5 from:

python "%~dpn0" %*

C:\Python27\python "%~dpn0" %*

Fixed the issue.

The script pylint installed already points to the correct Python version on the #! line, it would be nice if the batch file would be adjusted in a similar way.

appeared in<not specified>
done in<not specified>
load left0.100
closed by<not specified>