Sublime Text 报“Pylinter could not automatically determined the path to lint.py.

1. 问题描述:

 自己在st3中安装了pylinter插件,但是没有成功,出现如下错误:

"Pylinter could not automaticallydetermined the path to lint.py. Please provide one in the settings file usingthe pylint_path variable. NOTE: If you are using a Virtualenv, the problemmight be resolved by launching Sublime Text from correct Virtualenv。

2.

解决方法1:

   1)到官网https://pypi.python.org/pypi/pylint#downloads下载:pylint-1.xx.tar.gz,dos下运行它,或者直接运行其中的setup.py ,

   2)开ST3,然后ctrl+shift+p ,remove package,remove掉这个pylint,package。可以换一个 SublimeLinter 安装。

解决方法2:

   1) 修改目录下的Pylinter.sublime-settings的文件,可以在Preferences中设置pylint_path的变量。但修改了路径,此方法自己没成功。

 

参考:

Pylinter could not automatically determined the path to lint.py.与sublimeText2问题的处理:http://m.blog.csdn.net/blog/zhdnuli/39296547;

Sublime Text 3报 Pylinter could not automatically determined the path to lint.py : http://blog.chinaunix.net/uid-24641004-id-5061089.html;

Pylinter could not automatically determined the path to 'lint.py' : http://blog.csdn.net/viease/article/details/45027999;

posted @ 2015-10-06 15:40  鲁上客  阅读(1426)  评论(0编辑  收藏  举报