[Python-projects] apycot

Didrik Pinte lists at dipole-consulting.com
Wed Apr 22 09:57:18 CEST 2009


On Wed, 2009-04-22 at 09:53 +0200, Didrik Pinte wrote:

> There is no __init__.py file in the root logilab package and thus it
> can't import any of the devtools modules.
> 
> Adding an __init__.py files to /usr/lib/python2.5/site-packages/logilab,
> gives me the following error :

Adding an __init__.py in this package breaks up pylint ;-) :

Traceback (most recent call last):
  File "/usr/bin/pylint", line 3, in <module>
    from pylint import lint
  File "/usr/lib/pymodules/python2.5/pylint/lint.py", line 31, in
<module>
    from pylint.checkers import utils
  File "/usr/lib/pymodules/python2.5/pylint/checkers/__init__.py", line
39, in <module>
    from logilab.astng.utils import ASTWalker
ImportError: No module named astng.utils

Bad workaround ...

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090422/ba7bf17e/attachment.pgp>


More information about the Python-Projects mailing list