[Moin-user] ImportError: No module named MoinMoin (in moin.cgi), Install on OS X
Henning Deters
Henning.Deters at gmx.net
Mon Nov 17 10:43:16 EST 2003
Dear List members,
I have now been trying for three days to figure out how I could install
the MoinMoinWiki on my Macintosh with OS 10.2, Appache 1.3 and Python
2.3. Now I turn hopefully turn to yours.
My last try was to follow the installation procedure layed out on the
MoinMoin MASTER Wiki Help Page called "installing MoinMoin on OS X". I
changed some paths, because I first had installed python by means of
fink, so that 'python -c 'import sys; print sys.prefix' results in
'/sw'.
(You may want to consult the Help Page I mentioned:
http://twistedmatrix.com/users/jh.twistd/master/moin.cgi/
HelpOnInstalling_2fApacheOnMacOsx)
When I try to call the moin.cgi in my browser, all I get is "500
Internal Server Error".
moin.cgi?test results the following:
<begin>
MoinMoin CGI Diagnosis
======================
Your PYTHONPATH is:
['/sw/share/moin/Zettelkasten',
'/usr/lib/python2.2',
'/usr/lib/python2.2/plat-darwin',
'/usr/lib/python2.2/lib-tk',
'/usr/lib/python2.2/lib-dynload',
'/usr/lib/python2.2/site-packages']
Traceback (innermost last):
File "/sw/share/moin/Zettelkasten/moin.cgi", line 20, in ?
from MoinMoin import cgimain
ImportError: No module named MoinMoin
<end>
The last lines in appache's error_log are:
Traceback (most recent call last):
File "/sw/share/moin/Zettelkasten/moin.cgi", line 31, in ?
from MoinMoin import cgimain
ImportError: No module named MoinMoin
[Mon Nov 17 19:35:57 2003] [error] [client 127.0.0.1] Premature end of
script headers: /sw/share/moin/Zettelkasten/moin.cgi
Hopefully you'll find some interest in this. Your help would be very
appreciated.
Regards,
Henning Deters
Henning Deters * * * Via Bendetto Marcello 18 * * * 50144 Firenze * * *
Italia
henning at firenze.net * * * http://henning.firenze.net
More information about the Moin-user
mailing list