[Zope-xml] 4Suite installation question .. Python version?
Craeg Strong
cstrong at arielpartners.com
Mon Sep 2 15:31:50 EDT 2002
Hello:
IIRC, this is the recipe:
a) Install Zope 2.5.1
It *includes* Python 2.1.3 *use this version*
So for example if you install it in /opt/zope then /opt/zope/bin/python
is the python
you *must use* for steps (b) and (c) below. I you simply type "python"
you will probably
get the wrong one, as your typical Linux already has at least one python
installed.
b) Install PyXML 0.6.6
/opt/zope/bin/python /opt/PyXML-0.6.6/setup.py build
/opt/zope/bin/python /opt/PyXML-0.6.6/setup.py install
c) Install 4Suite 0.11.1
/opt/zope/bin/python /opt/4Suite-0.11.1/setup.py install
Hope this helps,
--Craeg
Jean Jordaan wrote:
> Hi there
>
> I'm struggling to get 4Suite installed for python2.1 .. 2.2 is no
> problem::
>
> jean at blommie app $ python2.2
> Python 2.2.1 (#1, May 18 2002, 22:48:35)
> [GCC 2.95.3 20010315 (release)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from xml.xslt import Processor
> >>>
>
> But Zope 2.5.1 requires python2.1 .. if I try this with 2.1::
>
> jean at blommie 4Suite-0.11.1 $ cat __init__.py
> __version__ = "0.11.1"
> __pyxml_version__ = '0.6.6'
>
> jean at blommie app $ python2.1
> Python 2.1.1 (#1, Feb 11 2002, 13:38:38)
> [GCC 2.95.3 20010315 (release)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> import xml.xslt
> >>> print xml.xslt.__doc__
>
> WWW: http://4suite.org/4XSLT e-mail: support at 4suite.org
>
> Copyright (c) 2000-2001 Fourthought Inc, USA. All Rights Reserved.
> See http://4suite.org/COPYRIGHT for license and copyright information
>
> >>> from xml.xslt.Processor import Processor # as in
> FourSuite11Processor.py
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/lib/python2.1/site-packages/_xmlplus/xslt/Processor.py",
> line 24, in ?
> from xml.xslt import StylesheetReader, ReleaseNode
> File
> "/usr/lib/python2.1/site-packages/_xmlplus/xslt/StylesheetReader.py",
> line 53, in ?
> from xml.xslt.Stylesheet import StylesheetElement
> File "/usr/lib/python2.1/site-packages/_xmlplus/xslt/Stylesheet.py",
> line 22, in ?
> from xml.xslt import XsltElement, XsltException,
> InternalException, Error
> ImportError: cannot import name InternalException
> >>>
>
> Any help would be sorely appreciated ..
More information about the Zope-xml
mailing list