Mod_python error: "PythonHandler mpcp"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)
File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg/mpcp.py", line 77, in handler
setup(options)
File "/usr/lib/python2.4/site-packages/mpcp-1.2-py2.4.egg /mpcp.py", line 61, in setup
mod = __import__(modname, globals(), locals(), [fname])
ImportError: No module named py
On 12/16/05,
Angus Lee <[EMAIL PROTECTED]> wrote:
I just ran into the same problem. Could you please tell me how to unzip an egg?On 12/14/05, anders pearson <[EMAIL PROTECTED] > wrote:"Andrew" < [EMAIL PROTECTED] > writes:
> I have my project in /var/www/html, where apache's DocumentRoot is set
> to, and am
> trying to use mod_python/mpcp. Below is the error I get. Any help?
it looks like your cElementTree egg is zipped. mod_python can't handle
any zipped eggs. you'll want to uninstall it and reinstall with -Z. (or
just go into your site-packages and manually unpack it).
i ran into the same problem. i think cElementTree installs as a zipped
egg by default when you install TG.
--
anders pearson : http://www.columbia.edu/~anders/
C C N M T L : http://www.ccnmtl.columbia.edu/
weblog : http://thraxil.org/

