[z3-five] ImportError in ZEO setups when [zope3]/lib/python is added to path

Jan-Wijbrand Kolman jw at infrae.com
Mon Oct 25 12:30:48 MEST 2004


> I'm pretty sure this is written somewhere, that you should put just
> the 'zope' and 'persistent' packages on PYTHONPATH. I usually make
> symlinks from the z3 installation to a 'five' directory and put that
> in the PYTHONPATH instead.

Well, I couldn't your hint written somewhere, but it makes sense - I 
used the INSTALL.txt for installing Five, and there it just says...

"""
* You need to make your Zope 2.7 instance aware of Zope 3 so it can
   import packages from it. To do this, go to the etc/zope.conf of your
   Zope 2.7 instance and add a ``path`` entry. If you used the released
   version of Zope X3.0.0, use something like the following::

     path /path/to/installed/Zope3/lib/python
"""

...on both the trunk and the 0.2b.

Maybe it is nice if your hint is added to this bullet point in the 
INSTALL.txt (I could do that of course)?


regards
jw

-- 
Jan-Wijbrand Kolman
jw at infrae.com


More information about the z3-five mailing list