[Eric] pylint ties to load project instead of module?

Detlev Offenbach detlev at die-offenbachs.de
Mon Feb 9 18:28:46 GMT 2009


On Sonntag, 8. Februar 2009, Dmitrey wrote:
> Hi all,
> this is typical pylint output for my project:
>
> ************* Module OpenOpt
>
> F: 1: <class 'logilab.astng._exceptions.ASTNGBuildingException'>: Unable
> to load module OpenOpt (No module named OpenOpt)
>
>
> OpenOpt is name of my Eric project, while name of module is lower-case
> "openopt" (i.e. in python I type "from openopt import ...")
>
>
> So, does anyone know how could I fix it?

Your project's main directory (the one containing the .e4p file) should be a 
Python package. Please compare the directory structure of eric4.

>
> Thank you in advance, D.
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric



-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the Eric mailing list