You are not logged in.
Hi, I have a script that I wrote for backing up important config files, it used to run fine now I get this error message:
/bin/env: bad interpreterThe script uses python2.7 the shebang is:
#!/bin/env python2.7My $PATH is:
/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/kde/bin:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/qt/bin2.7 is not the default but as you see I am specifying that in the shebang, I retyped the line to make sure there wasn't any weird characters and no help.
I executed:
find /usr -type f -name 'python*' -perm -a+xand here is the output as you can see it is listed.
/usr/lib/libreoffice/program/pythonloader.uno.so
/usr/lib/gimp/2.0/plug-ins/python-console.py
/usr/lib/gimp/2.0/plug-ins/python-eval.py
/usr/lib/weechat/plugins/python.so
/usr/lib/vmware-installer/2.0/python/python
/usr/lib/xchat/plugins/python.so
/usr/bin/python2.7-config
/usr/bin/python3
/usr/bin/python3.2
/usr/bin/python3.2mu
/usr/bin/python2.7
/usr/bin/python3.2mu-config
/usr/bin/python2.4Anyone have an idea what this might be?
thanks in advance for your help.
--jerry
Last edited by jk121960 (2012-06-17 21:48:50)
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
jk121960,
/bin/env moved to /usr/bin/env.
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
That did it
thanks very much.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
Time to mark solved?
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
Sorry my bad
Arch Awesome, Ranger & Vim the coding triple threat.
Offline