Hi, Am Mo, den 20.09.2004 schrieb Kalyan Jammigumpula um 17:18:
All- I run Plone2 over zope2.7 on a linux box. ^^^^^^^ ....
on the other python intance. So, I added the /usr/lib/python2.2/site-packages, the python for our local use, to ^^^^^
PYTHONPATH by exporting PYTHONPATH from bash_profile. Invoking the script from the command line with zope's python works without an import error. However, zope/Plone combo wont startup with zopectl if I use one of those modules in a basic zope product I am trying to develop. It throws an ImportError. Am I missing something? Isnt it supposed to work that way?
No. You canot share extensions between different python versions. If your extension is python only, you can link/copy only this over into the path for your Zopes python. Zope isnt really picky about python, it only expects the right version, that is, 2.3 for zope2.7. Regards Tino Wildenhain