[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-coders
Subject:    Re: [Zope-Coders] Problem running pychecker on the Zope sources
From:       Guido van Rossum <guido () python ! org>
Date:       2002-10-19 11:12:07
[Download RAW message or body]

> A common problem for me to run pychecker on Zope moduls is
> that pychecker fails with the import "from Persistence
> import Persistent" although the PYTHONPATH is set. Any ideas
> how to get around the problem?

This happens to me whenever the current directory has an immediate
subdirectory named ZODB with the source code for the ZODB package.
The current directory comes first in sys.path (before $PYTHONPATH).
But the ZODB source dir doesn't have the .so files for the Persistence
package.

Solution: use a different current directory.

--Guido van Rossum (home page: http://www.python.org/~guido/)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic