2005年09月15日 星期四 21:31
1.通过运行"setup.py install",把MoinMoin安装到了C:\python24中
2.在D盘建立MyStudyWiki文件夹,将C:\Python24\share\moin中的data和underlay复制到MyStudyWiki中,
3.将C:\Python24\share\moin\config中的wikiconfig.py复制到MyStudyWiki中。
4.将C:\Python24\share\moin\server中的moin.py复制到MyStudyWiki中.
5.运行moin.py出错。
>>>
Serving on localhost:8000
Traceback (most recent call last):
File "D:\MyStudyWiki\moin.py", line 88, in ?
run(Config)
File "C:\Python24\Lib\site-packages\MoinMoin\server\standalone.py", line 485, in run
if os.getuid() == 0 and os.name == 'posix':
AttributeError: 'module' object has no attribute 'getuid'
>>>
硬着头皮啃英文帮助,按着所理解的步骤,可是还是不行啊,都已经弄了两三天了,急死我了!
SOS,SOS,SOS……
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050915/d3563339/attachment.htm
Zeuux © 2025
京ICP备05028076号