您的位置:首页 > 其它

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

2015-10-06 15:40 363 查看
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.pyhttp://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;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: