* Bill D , 2017-01-30, 17:06:
$ pylint --reports=n li.py
* Module li
F: 3, 0: Unable to import 'os' (import-error)
Very odd. FWIW, I can't reproduce it in a clean Trusty environment. I get:
$ pylint --reports=n li.py
No config file found, using default configuration
$ echo $?
0
-
Hello Jakub:
To fix your issue just do a 'touch ~/pylintrc'
Regards,
Bill
On 1/31/2017 2:44 AM, Jakub Wilk wrote:
* Bill D , 2017-01-30, 17:06:
$ pylint --reports=n li.py
* Module li
F: 3, 0: Unable to import 'os' (import-error)
Very odd. FWIW, I can't reproduce it in a clean T
Hello All:
A new data point... I am seeing the issue only on Ubuntu 14.04.
It works fine on Redhat Enterprise Linux Server 6.6.
So it looks like pylint is broken on Ubuntu.
Is there a workaround/fix for Ubuntu 14.04?
Regards,
Bill
On 1/31/2017 8:29 AM, Bill D wrote:
Hello Dan:
pylint is
Hello Dan:
pylint is fully installed.
Even with the latest pylint the issue still happens:
$ cat li.py
#!/usr/bin/env python
"""foobar"""
import os
print os.listdir(os.curdir)
$ /usr/local/bin//pylint --version
pylint 1.6.5,
astroid 1.4.9
Python 2.7.6 (default, Oct 26 2016, 20:30:19)
[GCC 4.8.
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. runn