Hello ! I've successfully installed Zope 2.3.0 on an Intel machine running RHL 7.0. But when I try to install additional modules for Python (mysqlmodule, for instance), they "discover" the RH Python and happily install themselves into /usr/lib/python/site-packages. So when I install the MySQL DA in the Zope Products directory, it reports that Python can't find the mysqlmodule, which is no surprise as Zope comes with and runs on its own Python. So I have to copy the site-packages directory from the RH 7 Python to the Zope Python, and then everything works out fine. But this isn't an elegant way at all. Could someone give me a hint to solve this some other way ? Or tell me what I am doing wrong ? Thank you. Andrei Cenja, Bucharest, Romania.
[Andrei Cenja] | Hello ! Hi! | So I have to copy the site-packages directory from the RH 7 Python to the | Zope Python, and then everything works out fine. But this isn't an elegant | way at all. Could someone give me a hint to solve this some other way ? | Or tell me what I am doing wrong ? Download the Zope source package (Zope-2.3.0-src.tgz) and compile it from scratch. Then Zope will use the standard python libraries. Cheers, Morten
Download the Zope source version and compile it. ----- Original Message ----- From: "Andrei Cenja" <cnj@finsiel.ro> To: <zope@zope.org> Sent: Monday, February 19, 2001 3:46 AM Subject: [Zope] Zope products install issue
Hello !
I've successfully installed Zope 2.3.0 on an Intel machine running RHL 7.0.
But when I try to install additional modules for Python (mysqlmodule, for instance), they "discover" the RH Python and happily install themselves into /usr/lib/python/site-packages. So when I install the MySQL DA in the Zope Products directory, it reports that Python can't find the mysqlmodule, which is no surprise as Zope comes with and runs on its own Python.
So I have to copy the site-packages directory from the RH 7 Python to the Zope Python, and then everything works out fine. But this isn't an elegant way at all. Could someone give me a hint to solve this some other way ? Or tell me what I am doing wrong ?
Thank you. Andrei Cenja, Bucharest, Romania.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Mon, Feb 19, 2001 at 09:04:40AM -0500, Chris McDonough wrote:
Download the Zope source version and compile it.
I think that this is something that is going to come up again and again. I wish zope.org would offer two Linux binaries, one that has no python in it and one with python. With the user being directed to 1) try the pythonless binary, 2) try the source package, and if compilation does not work 3) try the python-included binary, with the warning that the site-packages will be moved.
Why? Are there specific Linux configurations that this would work better under than directing someone to type "python w_pcgi.py" when they download the source version? ----- Original Message ----- From: "Jim Penny" <jpenny@universal-fasteners.com> To: "Chris McDonough" <chrism@digicool.com>; <zope@zope.org> Sent: Monday, February 19, 2001 1:02 PM Subject: Re: [Zope] Zope products install issue
On Mon, Feb 19, 2001 at 09:04:40AM -0500, Chris McDonough wrote:
Download the Zope source version and compile it.
I think that this is something that is going to come up again and again. I wish zope.org would offer two Linux binaries, one that has no python in it and one with python. With the user being directed to 1) try the pythonless binary, 2) try the source package, and if compilation does not work 3) try the python-included binary, with the warning that the site-packages will be moved.
On Mon, Feb 19, 2001 at 01:29:55PM -0500, Chris McDonough wrote:
Why? Are there specific Linux configurations that this would work better under than directing someone to type "python w_pcgi.py" when they download the source version?
There is nothing wrong with the source package. In fact, I prefer it to my distro's version, even though I am working on a good distribution (Debian), which has a quite good zope binary package. But, I see the zope.org binaries as being newbie oriented. Because newbie types are inherently insecure and see "Oh, there is a binary on zope.org, the _official_ repository of zope zen and all that is good. I will download it and use it, in preference to my crufty ditribution's version" (if said user bothered to look in their distro). Worse, the verbiage with the source binary strongly suggests it is for developers only, with a real emphasis on people who are developing zope internals. The problem is that the zope.org binary in introducing, without warning, a second python tree; despite the fact that almost every distribution's python is perfectly OK. I know from zpopyda exerience that people are having trouble with this. Either compilation/installation scripts are detecting the wrong python or they are detecting no python. This is terribly confusing to the people who most need the help, the real newbie, who is also the person most likely to trigger this problem. I do not feel that zope.org is helping the intended audience with this binary. It does enable them to get started immediately, but as soon as they install their first package that requires site-package support, they are much worse off than they would have been had they been told that the binary is for emergency use rather than the preferred solution.
----- Original Message ----- From: "Jim Penny" <jpenny@universal-fasteners.com> To: "Chris McDonough" <chrism@digicool.com>; <zope@zope.org> Sent: Monday, February 19, 2001 1:02 PM Subject: Re: [Zope] Zope products install issue
On Mon, Feb 19, 2001 at 09:04:40AM -0500, Chris McDonough wrote:
Download the Zope source version and compile it.
I think that this is something that is going to come up again and again. I wish zope.org would offer two Linux binaries, one that has no python in it and one with python. With the user being directed to 1) try the pythonless binary, 2) try the source package, and if compilation does not work 3) try the python-included binary, with the warning that the site-packages will be moved.
I think that this is something that is going to come up again and again. I wish zope.org would offer two Linux binaries, one that has no python in it and one with python. With the user being directed to 1) try the pythonless binary, 2) try the source package, and if compilation does not work 3) try the python-included binary, with the warning that the site-packages will be moved.
This should be one package that would decide what to do after probing the target system for existing python.
participants (5)
-
Andrei Cenja -
Chris McDonough -
Jim Penny -
morten@esol.no -
Philippe J