[Python-projects] logilab-common installation woe
Alexandre Fayolle
alexandre.fayolle at logilab.fr
Tue Aug 21 15:23:47 CEST 2007
On Tue, Aug 21, 2007 at 02:08:42PM +0100, Afternoon wrote:
>
> I've been trying to install pylint and it's dependencies. logilab-common is
> giving me problems. Despite which 0.22.x version I choose whenever I
> install the module (using python setup.py install or moving the module to
> site-packages by hand) I just an ImportError get "No module named common"
> when attempting to import.
>
> The module is there. All the required __init__.py files are there. My
> site-packages works correctly, I put lots of stuff in there. I can do
> "import logilab". I have successfully installed logilab.astng and that can
> be imported (except it dies on the logilab.common.compat dependency).
It looks like you have another logilab directory in your python path.
When you import logilab, can you check (with "print logilab") the
package was found where you expected it ? Sometimes there is an old
__init__.pyc somewhere causing trouble. Can you also confirm that the
"common" directory below the logilab directory used to import the
package has an __init__.py file ?
>
> I'm using Python 2.5 from the Fink project on Mac OS X 10.4.10.
>
> I'm a bit surprised I'm falling at the first hurdle!
>
> Ben
>
>
> ________________________________
> http://aftnn.org
> http://cambodiachallenge.org
>
> _______________________________________________
> Python-Projects mailing list
> Python-Projects at lists.logilab.org
> http://lists.logilab.org/mailman/listinfo/python-projects
--
Alexandre Fayolle LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Informatique scientifique: http://www.logilab.fr/science
Reprise et maintenance de sites CPS: http://www.migration-cms.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20070821/c59200c6/attachment.pgp
More information about the Python-Projects
mailing list