bash can't run python scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I run spambayes. Since I've installed bash-2.05b-25 the scripts won't run implicitly.

[root@xxxxxxx bin]# ls -l /usr/bin/pop3proxy.py
-rwxr-xr-x 1 root root 28967 Jun 28 14:22 /usr/bin/pop3proxy.py


[root@xxxxxxx bin]# /usr/bin/pop3proxy.py
: bad interpreter: No such file or directory

But it works from python:

[root@xxxxxxx bin]# python /usr/bin/pop3proxy.py
SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003),
using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02
...................................

And, it should work from bash -- shouldn't it???

[root@xxxxxxx bin]# head pop3proxy.py
#!/usr/bin/python


"""A POP3 proxy that works with classifier.py, and adds a simple X-Spambayes-Classification header (ham/spam/unsure) to each incoming email. You point pop3proxy at your POP3 server, and configure your .................................................

Why is bash not recognizing the #! at the beginning of the file? (I've typed it in again to make sure there was no typo!)

Is this a problem with the new bash?

thanks
sean

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux