Home > fixing_bugs > ImportError: No module named request_modpython

ImportError: No module named request_modpython

If you are getting this problem in the apache log installing MoinMoin 1.5.8, you maybe want to fix the apache configuration:

<Location /mywiki>
SetHandler python-program
# Add the path of your wiki directory
PythonPath “['/var/www/html/wiki', '/usr/lib/python2.3/site-packages'] + sys.path”
PythonHandler MoinMoin.request::RequestModPy.run
</Location>

PythonHandler for MoinMoin is different as most of documentation has referenced… hope this tip helps…

Categories: fixing_bugs Tags: