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;

时间: 2024-08-08 09:29:43

Sublime Text 报“Pylinter could not automatically determined the path to lint.py.的相关文章

关于sublime text 3 pylinter的错误提示

刚开始用windows下sublime text 3写python,搭建完以后,按ctrl+b可以build,然后保存时候一直提示. Fatal pylint error: x:/python: can't find '__main__' module in 'y' x是python安装目录,y是sublime 插件pylinter的目录: 各种百度谷歌,发现说的都是build时候出现问题的情况,而且仔细看发现,报错不一样,发现我的这个错误是pylint的报错,然后去查pylint-- 发现,原

Sublime Text 编辑器配置 Python解释器简易教程

前天在微信上遇到一个小伙伴问我一个关于Sublime text配置Python解释器的问题,可能是初学者,对这方面还不是很懂,想使用快捷键但是徒劳一场,因为缺少Python解释器,直接按下快捷键Ctrl+B是不会得到想要的结果的. 鉴于此,如果有小伙伴想使用Sublime跑Python程序的话,那么配置Python解释器是必不可少的一步,这里整理这篇手把手教程,希望为后来者铺砖引路.下面是详细教程: 1.首先打开Sublime,如下图所示,然后选择"Preferences"选项卡. 2

使用sublime text 3 搭建轻量级C/C++编辑/编译器

0x01.软件准备: sublime text 3 MinGW 0x02.安装 & 配置 MinGW: path变量添加一条 C:\MinGW\bin 注意,这里配置之后需要重启生效,但有办法可以强制生效: set path=C:/MinGW/bin;%PATH%; 验证变量设置成功与否: mingw-get //如果出现MinGW界面则设置成功 安装g++ mingw-get install gcc g++ 验证g++安装成功与否: g++ -v //打印出g++版本信息,说明安装成功 0x0

sublime text install packages报错

汉化版的sublime text安装软件包的时候报错如下: There are no packages available for install 打开控制台,ctrl+~,然后看到如下错误: Package Control: Channel http://www.anchen8.net/channel.php does not appear to be a valid channel file because the "schema_version" is not a valid n

sublime text 2编译Python时打印中文报错的解决方案

当用sublime text 2 编译 python 文件时,若 print 打印出的中文时,控制台会报错: [Decode error - output not utf-8] 解决方案如下: 打开 sublime text 2 首选项 -> 浏览插件,进入 Python 文件夹,并找到 Python.sublime-build 文件. 打开如下: { "cmd": ["python", "-u", "$file"],

Sublime Text 2报“Decode error - output not utf-8”错误的解决办法

[Decode error - output not utf-8] [Decode error - output not utf-8] 应该怎么办? 这是因为python配置的编译环境的编码不正确,因为默认的Sublime Text 2的编码是UTF-8. 很简单,解决办法如下: [解决办法]修改Python.sublime-build配置文件,添加如下行: "encoding":"cp936" (注意在上一行结束加逗号)(如图所示)

Sublime Text 3 python 配置

Sublime Text 3 python 配置 Package Control 安装方法 1.通过快捷键 ctrl+` 或者 View > Show Console 打开控制台,然后粘贴相应的 Python 安装代码: 2.Sublime Text 3 安装代码并回车: import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib

Sublime Text 2 配置手册

Preferences.sublime-settings文件: // While you can edit this file, it’s best to put your changes in // “User/Preferences.sublime-settings”, which overrides the settings in here. // // Settings may also be placed in file type specific options files, for

使用Sublime Text进行ERLANG开发

1.为什么使用Sublime Text 漂亮的用户界面 强大的功能,支持大多数语言 程序简洁,内存占用小 神器,支持Windows,Mac,Linux 简单的配置,齐全的插件 支持多个项目 不需要主动保存,每次打开都会恢复到上次编辑的状态 2.Sublime Text安装和插件 官方网址:http://www.sublimetext.com 推荐使用版本:2.0.2 软件包:http://files.cnblogs.com/files/luobei/SublimeText2.0.2x64Setu