question involving installation of python applications

  • Thread starter Giancarlo Bassi
  • Start date
G

Giancarlo Bassi

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@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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top