Feb. 1, 2017
6:16 a.m.
On Jan 31, 2017, at 08:29 AM, Bill D wrote:
$ cat li.py #!/usr/bin/env python ^^^^^^^^^^^^^^^^^^^^^^ """foobar""" import os print os.listdir(os.curdir)
$ /usr/local/bin//pylint --version ^^^^^^^^^^^^^^^^^^^^^^^^^
It could be you're mixing up your Python interpreter and runtimes. E.g. running a different 'python' than /usr/bin/python because it's earlier on your $PATH, or picking up some misconfigured /usr/local/bin/python that doesn't have its stdlib installed correctly. Try narrowing it down with only packages from the Ubuntu archive. Cheers, -Barry