Pylint适用于某些文件,但不适用于其他文件(Pylint works with some files, but not others)

编程入门 行业动态 更新时间:2024-10-23 09:40:25
Pylint适用于某些文件,但不适用于其他文件(Pylint works with some files, but not others)

我在OS X上遇到了一些关于pylint的问题。以下是我的设置的一些背景知识:

Python2.x和Python3.x都通过自制软件安装 通过pip3 install pylint pylint pip3 install pylint

所以当我运行pylint pythonfile.py我得到了这个输出

所以我被卡住了,我不知道该去哪里。

I'm having some issues with pylint on OS X. Here's some background of my setup first though:

Python2.x and Python3.x both installed via homebrew Pylint installed via pip3 install pylint

So when I run pylint pythonfile.py I get this output

So I'm stuck and I have no idea where to go with this.

最满意答案

好像你在使用Python 3.5? 最新的Pylint还不能与Python 3.5一起使用,但很快就会发布一个支持Python 3.5的新版本。

It seems like you're using Python 3.5? The latest Pylint does not work with Python 3.5 yet, but a newer version with support for Python 3.5 will be released soon.

更多推荐

本文发布于:2023-08-05 06:06:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1430227.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:适用于   文件   但不   Pylint   works

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!