Server Help

ASSS Questions - Error loading pymod

Blocks - Mon Sep 03, 2007 10:06 pm
Post subject: Error loading pymod
This is what happens when I try to load the pymod module. I'm a bit of a programming newb so apologies if the solution is obvious.
Code: Show/Hide
I <cmod> loading C module 'pymod' from 'pymod'
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]

I'm running Ubuntu Server 7.04 and I have installed Python -- ideas on what's wrong?
Blocks - Mon Sep 03, 2007 10:58 pm
Post subject:
Switched to a different version of Python and it loads pymod now, but I get this error.

Code: Show/Hide
ImportError: No module named cPickle
E <pymod> can't import cPickle


Which is discussed in some other topics so I think I'm fine now.
Grelminar - Mon Sep 03, 2007 11:59 pm
Post subject:
The version of python that the pre-compiled pymod.so was built with (2.4) is probably different than the version you have installed. Building your own pymod.so binary (and the rest of asss) will probably work better.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group