[Zope] Upgrading Python and Zope
Tino Wildenhain
tino at wildenhain.de
Fri Nov 5 15:30:30 EST 2004
Hi,
Am Fr, den 05.11.2004 schrieb John Poltorak um 21:20:
> On Fri, Nov 05, 2004 at 01:41:14PM -0600, J Cameron Cooper wrote:
> > John Poltorak wrote:
> > > I'm intending to upgrade Zope from 2.6.2b3 to 2.7.3 but thought I might as
> > > well take the opportunity to upgrade Python from 2.2.2 to 2.3.4. Is there
> > > anything I need to watch out for? I notice that in the process of
> > > installing the latest Python it has installed in /usr/local/lib/python2.3
> > > whereas 2.2.2 was installed in /usr/lib/python2.2, so whilst I have
> > > installed the latest Python, I haven't actually upgraded it. Should I
> > > reinstall it in /usr/lib? And how do I ensure that Zope is picking up the
> > > later version?
> >
> > When you install Zope 2.7 (which has a different install mechanism from
> > 2.6) it will detect the proper Python. It is not improper to have
> > multiple Pythons installed. In fact, it is a good thing if you have
> > software that depends on multiple versions.
>
> Just for my own peace of mind, how does Zope know which is the 'proper'
> Python?
>
> And how can I tell that it has picked the one I want it to during
> installation?
You can (and probably should) give it as argument to configure.
--with-python specify a path to a Python interpreter to use
so ./configure --with-python=python2.3
or ./configure --with-python=/usr/bin/python2.3
or whatever together with all the other options you use.
Regards
Tino
More information about the Zope
mailing list