首页 > 移动平台 > 详细

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

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

标签:python   cheetah   

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!

标签:python   cheetah   

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

(0)
(0)
   
举报
评论 一句话评论(0
0条  
登录后才能评论!
© 2014 bubuko.com 版权所有 鲁ICP备09046678号-4
打开技术之扣,分享程序人生!
             

鲁公网安备 37021202000002号