Specify which python version pylint should evaluate for January 2, 2024 by Tarik You can try python2 -m pylint ... and python3 -m pylint .... That ensures that you use the right version.