Hi Hossein: On Thu, 05 Jun 2008, Hossein Rafighi wrote: > I am using python 2.4 in /opt for a different application
If that other application is also exposed to the web by the same Apache process, then you'd better use the same mod_python (hence the same Python) version for the two apps. > try using the same package for invenio it complain about missing > packages required by invenio! You should recompile the Python prerequisites for Invenio with Python 2.4 then. You can follow the wiki page at: <https://twiki.cern.ch/twiki/bin/view/CDS/InvenioInstallationSLC4> using python2.4 instead of python2.3 when building your RPMs. (Note that some Python packages listed on that page are not needed anymore, e.g. Numeric.) > Any suggestions? Another suggestion would be to have two separate Apache processes, one serving the Invenio app (using Python 2.3) and one serving the other app (using Python 2.4). Then you can have two mod_pythons that do not clash. See also the PythonPath directive: <http://www.modpython.org/live/current/doc-html/dir-other-pp.html> But it is probably better just to use Python 2.4 for both apps. Best regards -- Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>
