[Cocci] Fatal error: exception Failure("no python")

Nicolas Palix nicolas.palix at imag.fr
Fri Feb 14 10:51:29 CET 2014


On Fri, Feb 14, 2014 at 8:57 AM, 林嘉(程二 福州) <linjia at ruijie.com.cn> wrote:
> Then I found cocc can not work, it reports: Fatal error: exception Failure("no python")

You get is error when spatch has not been compiled with Python support
but you are still using cocci file with Python snippet.

Does ' spatch --version' report python support ?
Such as
     spatch version 1.0.0-rc15 with Python support and with PCRE support

Nicolas Palix
Tel: +33 4 76 51 46 27

More information about the Cocci mailing list