FAQ
Why python interpreter has two copies ?:

so that:

ls -l python*
-rwxr-xr-x 1 root root 2288515 Nov 10 13:41 python
lrwxrwxrwx 1 root root 16 Jul 3 02:06 python-config ->
python2.5-config
-rwxr-xr-x 1 root root 2288515 Nov 22 00:25 python2.3
-rwxr-xr-x 1 root root 1424 Jul 3 02:06 python2.5-config

---------------------------------------------------------------

If someone wants to keep more python interpreters how
can avoid to superpose them.

Only by renaming ?
Is there reference into documentation ?

I want to keep python 2.3.5 and Zope-2.8-final for FLE3 (future learning
environment) and install also pychess, requiring pygtk 2.x , (possibly for
python 2.5.1)

While I managed to install FLE3 , after installing python2.5.1
I didn't success to run again the daemon for running Zope-2.8.

I got somewhat like that:

aka-ankku at aka-ankku:/home/aka-ankku/Zope-2.8.0-final$ bin/zopectl
Traceback (most recent call last):
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/Zope2/Startup/zopectl.py
", line 43, in ?
import Zope2.Startup
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/Zope2/__init__.py",
line
60, in ?
from Zope2.Startup.run import configure
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/Zope2/Startup/__init__.p
y", line 24, in ?
import ZConfig
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/ZConfig/__init__.py",
line 21, in ?
from ZConfig.loader import loadConfig, loadConfigFile
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/ZConfig/loader.py",
line 26, in ?
import ZConfig.schema
File
"/mnt/hd/home/aka-ankku/Zope-2.8.0-final/lib/python/ZConfig/schema.py",
line
44, in ?
class BaseParser(xml.sax.ContentHandler):
AttributeError: 'module' object has no attribute 'ContentHandler'
--------------------------------------------------------------------------

Why 'module' object has no attribute 'ContentHandler' ?


THX,
GB

---
"I'm no Pawn, I'm Donald Duck ! "
-- Donald in MathMagic Land

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedDec 2, '07 at 2:51p
activeDec 2, '07 at 2:51p
posts1
users1
websitepython.org

1 user in discussion

Giancarlo Bassi: 1 post

People

Translate

site design / logo © 2022 Grokbase