[ 
https://issues.apache.org/jira/browse/YETUS-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17071093#comment-17071093
 ] 

Akira Ajisaka commented on YETUS-960:
-------------------------------------

pip2 wants to install configparser as the dependency of pylint but the latest 
version (5.0.0) is only for Python 3.6+. Setting the version to 4.0.2 should 
work.

> Yetus build env cannot execute pylint2
> --------------------------------------
>
>                 Key: YETUS-960
>                 URL: https://issues.apache.org/jira/browse/YETUS-960
>             Project: Yetus
>          Issue Type: Bug
>          Components: Precommit
>            Reporter: Akira Ajisaka
>            Priority: Critical
>
> {noformat}
> $ ./start-build-env.sh
> (snip)
> aajisaka@9035ba61ece3:~/yetus$ pylint2
> Traceback (most recent call last):
>   File "/usr/local/bin/pylint2", line 11, in <module>
>     sys.exit(run_pylint())
>   File "/usr/local/lib/python2.7/dist-packages/pylint/__init__.py", line 15, 
> in run_pylint
>     from pylint.lint import Run
>   File "/usr/local/lib/python2.7/dist-packages/pylint/lint.py", line 67, in 
> <module>
>     from pylint import checkers
>   File "/usr/local/lib/python2.7/dist-packages/pylint/checkers/__init__.py", 
> line 45, in <module>
>     from pylint.config import OptionsProviderMixIn
>   File "/usr/local/lib/python2.7/dist-packages/pylint/config.py", line 49, in 
> <module>
>     import configparser
> ImportError: No module named configparser
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to