[Python-modules-team] Bug#810329: Also fails runtime support
Neil Williams
codehelp at debian.org
Sat Jan 9 10:36:15 UTC 2016
$ pylint --load-plugins=pylint_django models.py
Traceback (most recent call last):
File "/usr/bin/pylint", line 3, in <module>
run_pylint()
File "/usr/lib/python2.7/dist-packages/pylint/__init__.py", line 23, in run_pylint
Run(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/pylint/lint.py", line 1236, in __init__
linter.load_plugin_modules(self._plugins)
File "/usr/lib/python2.7/dist-packages/pylint/lint.py", line 485, in load_plugin_modules
module = modutils.load_module_from_name(modname)
File "/usr/lib/python2.7/dist-packages/astroid/modutils.py", line 186, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/usr/lib/python2.7/dist-packages/astroid/modutils.py", line 229, in load_module_from_modpath
module = imp.load_module(curname, mp_file, mp_filename, mp_desc)
File "/usr/lib/python2.7/dist-packages/pylint_django/__init__.py", line 3, in <module>
from pylint_django import plugin
File "/usr/lib/python2.7/dist-packages/pylint_django/plugin.py", line 3, in <module>
from pylint_django.augmentations import apply_augmentations
File "/usr/lib/python2.7/dist-packages/pylint_django/augmentations/__init__.py", line 11, in <module>
from pylint_django.utils import node_is_subclass, PY3
File "/usr/lib/python2.7/dist-packages/pylint_django/utils.py", line 3, in <module>
from astroid.bases import YES, Instance
ImportError: cannot import name YES
--
Neil Williams
=============
http://www.linux.codehelp.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160109/41a7368f/attachment.sig>
More information about the Python-modules-team
mailing list