-----邮件原件-----
发件人: Julia Lawall [mailto:[email protected]]
发送时间: 2014年2月14日 16:56
收件人: 林嘉(程二 福州)
抄送: [email protected]
主题: Re: [Cocci] Fatal error: exception Failure("no python")
On Fri, 14 Feb 2014, 林嘉(程二 福州) wrote:
> I did some 'apt-get install update' and 'apt-get install upgrade'
> today
>
> Then I found cocc can not work, it reports: Fatal error: exception
> Failure("no python")
>
> But I run python -v is ok
>
> # python -V
> Python 2.7.3
>
> Why? How can I fix this?
Perhaps your python is not in a standard place?
I don’t know how python is placed..but the result of whereis is
# whereis python
python: /usr/bin/python2.6 /usr/bin/python2.7 /usr/bin/python2.7-config
/usr/bin/python /etc/python2.6 /etc/python2.7 /etc/python /usr/lib/python2.6
/usr/lib/python2.7 /usr/bin/X11/python2.6 /usr/bin/X11/python2.7
/usr/bin/X11/python2.7-config /usr/bin/X11/python /usr/local/lib/python2.6
/usr/local/lib/python2.7 /usr/include/python2.6 /usr/include/python2.7
/usr/include/python2.7_d /usr/include/python2.6_d /usr/share/python
/usr/share/man/man1/python.1.gz
What distribution of Linux are you using? What version of Coccinelle do you
have?
~~~~~~~~~~~ uname -ar
Linux debian 2.6.33.7-co-0.7.9 #1 PREEMPT Sat Apr 9 20:30:51 UTC 2011 i686
GNU/Linux
I installed 0.2.3.firstly, then installed 1.0.0-rc19
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci