docs for invoking 2nd version of python
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated. -- Raymond Norton Little Crow Telemedia Network 320-234-0270
- install python2.1 - rebuild your zope (if it is a compiled source release) with the new python binary by executing /path/to/python2.1 wo_pcgi.py jens On Friday, February 8, 2002, at 06:07 , Raymond Norton wrote:
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated.
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
_______________________________________________ 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 )
I am using the 2.5 Linux binary build. Should I change to something else for this?
- install python2.1 - rebuild your zope (if it is a compiled source release) with the new python binary by executing /path/to/python2.1 wo_pcgi.py
jens
On Friday, February 8, 2002, at 06:07 , Raymond Norton wrote:
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated.
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
_______________________________________________ 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 )
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
the binary build has its own copy of python included, and it is python 2.1 jens On Friday, February 8, 2002, at 09:18 , Raymond Norton wrote:
I am using the 2.5 Linux binary build. Should I change to something else for this?
- install python2.1 - rebuild your zope (if it is a compiled source release) with the new python binary by executing /path/to/python2.1 wo_pcgi.py
jens
On Friday, February 8, 2002, at 06:07 , Raymond Norton wrote:
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated.
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
_______________________________________________ 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 )
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
_______________________________________________ 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 )
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated.
If you are starting from scratch with Zope and Python it should be easy: the binary release of Zope 2.5.0 installs the correct version of python by default within the zope directory you set up (which shouldn't hose python 1.5.2) Apart from, (obviously) http://www.zope.org/Documentation/Misc/InstallingZope.html and http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO I've exported my bookmark file if it's any help to you: http://www.carnall.demon.co.uk/install_zope.html Best wishes D. -- Douglas Carnall tel:+44 (0)20 7241 1255 fax:08700 557879 mob:07900 212881 http://www.carnall.org/ dougie@carnall.org
Thank you! I am trying to do this new install via a zope book. I am at a part that says if I want to interact with MySQL, I need to install the proper adapater and driver. I am not really clear if this is necessary with 2.5, but when I tried to complete the process it gave me a tremendous amount of syntax errors, which I am assuming came from using the wrong version of python. Any clarification would be appreciated
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated.
If you are starting from scratch with Zope and Python it should be easy: the binary release of Zope 2.5.0 installs the correct version of python by default within the zope directory you set up (which shouldn't hose python 1.5.2)
Apart from, (obviously)
http://www.zope.org/Documentation/Misc/InstallingZope.html
and
http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO
I've exported my bookmark file if it's any help to you:
http://www.carnall.demon.co.uk/install_zope.html
Best wishes
D.
-- Douglas Carnall
tel:+44 (0)20 7241 1255 fax:08700 557879 mob:07900 212881 http://www.carnall.org/ dougie@carnall.org
_______________________________________________ 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 )
-- Raymond Norton Little Crow Telemedia Network 320-234-0270
Raymond Norton writes:
I am using RedHat 7.2 with python 1.5.2.rpm. I want to use Zope ver 2.5 , which I believe uses python 2.1. I have been told I can install 2.1 on the same box, and tell Zope to use it. I have looked around for docs on this, but must not know my way around the archives. Any direction to the proper docs would be appreciated. When you use a binary Zope distribution, it comes with its own Python binary. Just follow the accompanying installation instructions.
When you use a source distribution, then you do: <your_python> wo_pcgi.py (or maybe: <your_python> w_pcgi.py) to generate Zope from the source. This generates "start", the normal Zope startup script. It uses the right Python interpreter. Easy, isn't it? Dieter
participants (4)
-
Dieter Maurer -
Douglas Carnall -
Jens Vagelpohl -
Raymond Norton