- python/
- 安装pylint for python 3.3.4时astroid 1.3.6包出错
安装pylint for python 3.3.4时astroid 1.3.6包出错
安装pylint for python 3.3.4时astroid 1.3.6包出错,python,pylint,Python,Pylint,我正在尝试在unix服务器中安装pylint。我知道在安装pylint软件包之前需要安装两个软件包
星形包装
logilab通用软件包
最后是派林包
但在安装astroid时,我遇到了一个奇怪的语法错误。我已经在下面发布了我得到的错误。为我的python安装pylint模块很热吗
Python版本:3.3.4
星体版本:1.3.6
服务器:Unix服务器
错误消息:
这是astroid安装的输出:
提取astroid-1.3.6-py3.3.egg到
/项目/3rdParty_RH5/3rdPa
我正在尝试在unix服务器中安装pylint。我知道在安装pylint软件包之前需要安装两个软件包
星形包装
logilab通用软件包
最后是派林包
但在安装astroid时,我遇到了一个奇怪的语法错误。我已经在下面发布了我得到的错误。为我的python安装pylint模块很热吗
Python版本:3.3.4
星体版本:1.3.6
服务器:Unix服务器
错误消息:
这是astroid安装的输出:
提取astroid-1.3.6-py3.3.egg到
/项目/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site-packages
文件
“/project/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site packages/astroid-1.3.6-py3.3.egg/astroid/tests/testdta/python2/data/module.py”,
第32行
除ValueError外,例如:
^SyntaxError:无效语法
文件
“/project/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site packages/astroid-1.3.6-py3.3.egg/astroid/tests/testdta/python2/data/all.py”,
第7行
def func():打印“yo”
^SyntaxError:无效语法
文件
“/project/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site packages/astroid-1.3.6-py3.3.egg/astroid/tests/testdta/python2/data/module2.py”,
第78行
执行官'c=3'
^SyntaxError:无效语法
文件
“/project/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site packages/astroid-1.3.6-py3.3.egg/astroid/tests/testdta/python2/data/noendingnewline.py”,
第21行
打印“a”
^SyntaxError:无效语法
文件
“/project/3rdParty\u RH5/3rdParty\u con\u final/3rdParty/python-3.3.4/lib/python3.3/site packages/astroid-1.3.6-py3.3.egg/astroid/tests/testdta/python2/data/appl/myConnection.py”,
第1行
从未来导入打印语句语法错误:未定义未来功能打印语句
astroid 1.3.6已经是easy-install.pth中的活动版本
安装
/项目/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site-packages/astroid-1.3.6-py3.3.egg
处理astroid==1.3.6的依赖项搜索六个==1.5.2
最佳匹配:六个1.5.2加工六个-1.5.2-py3.3。蛋六个1.5.2是
easy-install.pth中已存在活动版本
使用
/项目/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site-packages/six-1.5.2-py3.3.egg
正在搜索logilab common==0.63.2最佳匹配:logilab common
0.63.2 Processing logilab_common-0.63.2-py3.3.egg logilab common 0.63.2已经是easy-install.pth中的活动版本,正在将pytest脚本安装到/opt/atseintl/3rdParty/python-3.3.4/bin
使用
/项目/3rdParty_RH5/3rdParty_con_final/3rdParty/python-3.3.4/lib/python3.3/site-packages/logilab_common-0.63.2-py3.3.egg
已完成对astroid==1.3.6的依赖项的处理
这些实际上是astroid测试数据中的错误,并且似乎不会阻止您的安装,所以您应该能够安装pylint。感谢您的回复。我已安装pylint,但无法运行pylint命令。当我运行它时,我发现,-------bash-3.2$pylint简单测试_manageapp.py-bash:pylint:command未找到------此错误。你能告诉我为什么会这样吗?我应该如何让它运行?