码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-10-06 16:39:14      阅读:785      评论:0      收藏:0      [点我收藏+]

标签:

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;

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

标签:

原文地址:http://www.cnblogs.com/zhicn/p/4857216.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!