[Zope] Zope with python 2.1.3, but my linux uses python 2.2
Peter Bengtsson
mail@peterbe.com
Fri, 13 Sep 2002 11:30:45 +0100
--=======424431F=======
Content-Type: text/plain; x-avg-checked=avg-ok-6FFB3953; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 8bit
Thank you! That worked.
I might actually consider debian instead for servers that are mainly meant
for Zope stuff.
Thankful, Peter
At 10:25 2002-09-03 -0700, sean.upton@uniontrib.com wrote:
>You need Python 2.1 and the modules compiled with/for it, because a lot of
>modules, esp. database stuff, uses C code linked to the Python interpreter.
>
>Move /usr/bin/python to /usr/bin/python2.2 - Install Python 2.1.3 from
>source. Have the binary be installed as /usr/bin/python2.1 and set up
>/usr/bin/python as a symlink to python2.2... Make sure your /usr/lib/python
>tree is actually /usr/lib/python2.2 and respectively, /usr/lib/python2.1.
>It is quite likely that to keep your 2.2 binary install from getting messed
>up, you will need to symlink /usr/lib/python to /usr/lib/python2.2. Install
>Zope from source tar file by untarring and running wo_pcgi.py with
>/usr/bin/python2.1.
>
>In theory, this should work.
>
>Sean
>
>P.S. You could always consider a switch to Debian, which keeps official
>packages for both python2.1 and python2.2, along with all the module goodies
>for each.
>Modules and related packages for both (125 for 2.2, 123 for 2.1):
>http://packages.debian.org/cgi-bin/search_packages.pl?keywords=python2.2-&se
>archon=names&subword=1&version=all&release=all
>http://packages.debian.org/cgi-bin/search_packages.pl?keywords=python2.1-&se
>archon=names&subword=1&version=all&release=all
>
>-----Original Message-----
>From: Peter Bengtsson [mailto:mail@peterbe.com]
>Sent: Tuesday, September 03, 2002 9:22 AM
>To: zope@zope.org
>Subject: [Zope] Zope with python 2.1.3, but my linux uses python 2.2
>
>
>I use Mandrake 8.2 which installs python 2.2 by default and with it lots of
>useful modules like mysql-python, postgresql-python (or whatever that was
>called), PIL and python support of emacs. That's all great but what if I
>want to access these modules from my Zope instance?
>
>If I install a Zope without the binary I'll bark upon having to use python
>2.2 right, but all the modules will be there.
>If I install a Zope with the binary it won't bark but I'll then have to get
>all the modules in there.
>
>How do I in the easiest way get to keep Mandrakes setup, Zope with python
>2.1. and Zope with all these installed modules?
>Can I somehow import the site-packages of python 2.2. into the binary
>python 2.1 Zope package? How?
>
>I hope my question makes sense.
>Thank you, Peter
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.381 / Virus Database: 214 - Release Date: 2002-08-02
--=======424431F=======
Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-6FFB3953
Content-Disposition: inline
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 2002-08-02
--=======424431F=======--