[Zope] how to configure Zope to use Python 2.3.3

J. Cameron Cooper jccooper at jcameroncooper.com
Mon Feb 16 19:21:38 EST 2004


robert rottermann wrote:

> J Cameron Cooper wrote:
>
>> Rod Thorburn wrote:
>>
>>> I am running Zope 2.6.3 (binary release) on win2k, which by default 
>>> installs
>>> Python 2.1.3 . However, I wish to use Python 2.3.3 and I can't see 
>>> how to
>>> 'swap' Python instances.
>>>
>> You can call whatever version of Python you want to use when starting 
>> Zope. The binary release of that version makes a 'start' script that 
>> calls the Python binary that comes with it. You can edit that script 
>> to use whatever version of Python you like to execute 'z2.py'. (I 
>> usually make it call a symbolic link that I can change to point at 
>> different Python executables without editing the script.)
>>
>> Zope 2.6.x may or may not work well with Python 2.3.3. Zope 2.7 is 
>> the release that officially goes to Python 2.3 series. It has a 
>> slightly different scheme for starting, as I recall.
>>
>>          --jcc
>>
> Is this true?
> Zope does use compiled c programs which must be linked to the correct 
> Python version.

Oops. You're right. I guess I never actually switch versions that way.

Yes, one would also have to run the build script with the target Python, 
as well.

          --jcc

-- 
"My point and period will be throughly wrought,
Or well or ill, as this day's battle's fought."





More information about the Zope mailing list