Hi, If I have python installed on my PC, can I use that installation instead of that installed with Zope? The reason is that I am having trouble installing the win32 library for python on the Zope python instance. It fails to load pywise32.dll(?). I'm using a Win98 machine. TIA, Micheál Micheál Healy Engitech Ltd. 01 6204 516
On Thu, Mar 06, 2003 at 11:30:27AM -0000, Miche?l Healy wrote:
Hi,
If I have python installed on my PC, can I use that installation instead of that installed with Zope?
sure, i do it all the time on linux. sorry i don't know the setup for doing this on windows. Be sure to use the recommended version of python. For zope 2.5 - 2.6.1, that's python 2.1.3 ONLY. -- Paul Winkler http://www.slinkp.com
Hi Paul, What's the procedure for doing this on Linux? I have a few Zope installations here, on Linux, WinNT and '98, so it would be useful for any. Thanks, Micheál -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paul Winkler Sent: 06 March 2003 14:42 To: Zope@Zope.Org Subject: Re: [Zope] Can I choose my python installation? On Thu, Mar 06, 2003 at 11:30:27AM -0000, Miche?l Healy wrote:
Hi,
If I have python installed on my PC, can I use that installation instead of that installed with Zope?
sure, i do it all the time on linux. sorry i don't know the setup for doing this on windows. Be sure to use the recommended version of python. For zope 2.5 - 2.6.1, that's python 2.1.3 ONLY. -- Paul Winkler http://www.slinkp.com _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Thu, Mar 06, 2003 at 02:57:31PM -0000, Miche?l Healy wrote:
Hi Paul,
What's the procedure for doing this on Linux?
just get the zope source tarball instead of the binary distro. have python 2.1.3 installed. make sure you know how to run it (it might be just "python", or "python2" or "python2.1" depending on your system and what other versions of python might be installed.) then run that command to build zope, e.g. cd /where/you/untarred/zope python2.1 wo_pcgi.py then edit the start script to be sure it uses the right version of python on the last line e.g.: exec /usr/bin/python2.1 $cwd/z2.py -D "$@" ... editing the z2.py options to taste of course. -- Paul Winkler http://www.slinkp.com
Micheál Healy wrote at 2003-3-6 11:30 -0000:
If I have python installed on my PC, can I use that installation instead of that installed with Zope? The reason is that I am having trouble installing the win32 library for python on the Zope python instance. It fails to load pywise32.dll(?). I'm using a Win98 machine.
You can, provided the Python version is compatible with Zope. For Zope 2.6.1, you need either Python 2.1.3 or Python 2.2.2. Then you just install the Zope source distribution and do your_python w_pcgi.py or your_python wo_pcgi.py This requires a C development system. If you do not have one: Install the Zope binary distribution (your Python and that used for building the binary distribution must be the same version, i.e. 2.1.3). Remove the Python library "lib/python/python2.1" and the Python binary (probably "bin/python") from your Zope distribution. Edit "start.bat" to use your Python. Dieter
If I have python installed on my PC, can I use that installation instead of that installed with Zope? The reason is that I am having trouble installing the win32 library for python on the Zope python instance. It fails to load pywise32.dll(?). I'm using a Win98 machine.
I've never heard of pywise32.dll, what is that? Anyway install the python version you want (eg from Python.org or from ActiveState) and edit start.bat (or the registry settings if its a service and replace the bit that says "python" with your python). Its easy and you don't need to build anything unless you want to. -- Andy McKay
participants (4)
-
Andy McKay -
Dieter Maurer -
Micheál Healy -
Paul Winkler