首页 > 移动平台 > 详细

Cheetah使用出错!You don't have the C version of NameMapper installed!

时间:2014-07-30 17:35:24      阅读:3735      评论:0      收藏:0      [点我收藏+]

1.问题

/usr/lib/python2.5/site-packages/Cheetah/Compiler.py:1532: UserWarning: 
You don‘t have the C version of NameMapper installed! I‘m disabling Cheetah‘s useStackFrames option as it is painfully slow with the Python version of NameMapper. You should get a copy of Cheetah with the compiled C version of NameMapper.
  "\nYou don‘t have the C version of NameMapper installed! 


2.解决方法

You can download a compiled version of _namemapper here:
http://www.cheetahtemplate.org/download.html

Pick _namemapper.pyd2.4 or _namemapper.pyd2.5 depending on your Python version.
Rename the file to _namemapper.pyd and put it in folder:
PYTHON-PATH\Lib\site-packages\Cheetah

Cheetah使用出错!You don't have the C version of NameMapper installed!,布布扣,bubuko.com

Cheetah使用出错!You don't have the C version of NameMapper installed!

原文:http://blog.csdn.net/magicharvey/article/details/38302217

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!