LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   python problem in fedora 7 (https://www.linuxquestions.org/questions/linux-newbie-8/python-problem-in-fedora-7-a-593594/)

karthi26 10-22-2007 01:50 AM

python problem in fedora 7
 
Hi,
i am installing monitoring tool. That needs Pyhton as a supporting package.But when i try to start the tool(Zenoss) it showed a problem in pyhton.
The error i received is

ZConfig.SchemaResourceError: could not load package ZODB: /opt/zenoss/lib/python/persistent/cPersistence.so: undefined symbol: Py_InitModule4
Package name: 'ZODB'
File name: 'component.xml'
Package path: None

At the end of the error:

File "/opt/zenoss/lib/python/pywmi.py", line 5, in <module>
import _pywmi
ImportError: /opt/zenoss/lib/python/_pywmi.so: undefined symbol: Py_InitModule4


My friend help me to find that the problem is due to python.this link shows the python problem.

http://planet-soc.com/node/644

How can i able to solve dependency the packages for Zope and Plone.
can anyone help me to solve the dependency problem.

Regards,
karthi26

tangle 11-30-2007 11:25 AM

I am not sure about what dependency hell you'll get into. But just uninstall Python 2.5 and install Python 2.4.

I do not have a clean install of Fedora around too look at. If you run into dependency hell you could just install Python 2.4. It have been a few years since I did a source install of Zope, but I think there is an option to point it to Python. Just point it to the 2.4 directory.

Hewson 11-30-2007 02:17 PM

You need zope & plone? or have it? how did you install, using the plone unified installer? I'm betting you didn't. this installer will install python 2.4. I am running Fedora 7 and zope/plone. The Fedora system as your link suggests, installs python 2.5, while zope/plone wants 2.4.

As tangle suggests you could just install 2.4 along side or instead of 2.5. (or, if its an option, you could remove your zope & plone installations and go use the plone unified installer. you can find it at www.plone.org) On my box I used the plone unified installer and have 2.4 running along side 2.5 with out any issue.

Good Luck!

-Steve


All times are GMT -5. The time now is 02:25 AM.