Hi, I'm using pylint-0.25 with python-2.7 in a virtual environement created with virtualenv-1.6.4. I've a test file, test1.py, with the following content:
---------------------------------------------------------------- #!/usr/bin/env python """This is a simple test""" from distutils.core import setup print setup ---------------------------------------------------------------- Running (venv-2.7)$ python test1.py works as expected. However pylint gives the following output (venv-2.7)$ pylint test1.py ************* Module test1 F: 5,0: Unable to import 'distutils.core' E: 5,0: No name 'core' in module 'distutils' ... and the code is rated at -6.67/10. Is this a bug? How can I avoid this problem? Thanks in advance, Vicent -- Share what you know, learn what you don't. _______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects