A binary distribution comes with python built-in so that it will run
without the installer having to also go get python. PYTHONPATH is the key
to understanding module sharing. Unless you (or the packager) change
something, a binary Zope uses only the modules in the built-in python (or,
at least, has the built-in lib/python first in PYTHONPATH). In the same
vein, the two pythons don't share modules unless you change somemthing,
e.g. PYTHONPATH (or maybe both their PYTHONPATHs end in
/usr/local/python). Just to double check what's going on in your Zope, use
this code to create an external method and visit it with your browser.
buff = ''
for dir in sys.path:
buff = '%s\n%s' % (buff, dir)
On Thu, 11 Jan 2001 [EMAIL PROTECTED] wrote:
> dependencies here. Also I am confused on a basic piece of Zope
> configuration: my box has its own python and Zope has its own python, why
> two and are they sharing modules? If you want to add a module for both
> installs of python do I have to install in both? If I install a python
> module in my box's python can Zope's python find and use it? I am confused
> on this basic question.
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -