if I try and exicute python from the comand line I get the following ....<br><br>-bash: /usr/bin/python: cannot execute binary file<br><br><br><div><span class="gmail_quote">On 10/4/06, <b class="gmail_sendername">Tony Nelson
</b> <<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At 8:45 AM +0200 10/4/06, Gregory Machin wrote:<br><br>>Hi<br>>when i run yum i get the following<br>><br>>[root@fwlw-dsl ~]# yum update<br>>import: unable to open X server `'.<br>>/usr/bin/yum: line 3: try:: command not found
<br>>import: unable to open X server `'.<br>>/usr/bin/yum: line 5: except: command not found<br>>/usr/bin/yum: line 23: syntax error near unexpected token `('<br>>/usr/bin/yum: line 23: `""" % (
sys.exc_value, sys.version)'<br>><br>>I have reinstalled yum and it's the same ....<br>>what do i try next ...<br><br>I don't know. For some reason, yum is being run as a bash script rather<br>than a python script. The file /usr/bin/yum should have a first line that
<br>refers to python:<br><br> #!/usr/bin/python<br><br>Typing "python" at the command line should run python (press Ctl-d to get<br>back out).<br>--<br>____________________________________________________________________
<br>TonyN.:' The Great Writ <mailto:<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>><br> ' is no more. <<a href="http://www.georgeanelson.com/">http://www.georgeanelson.com/
</a>><br><br>--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Gregory Machin<br><a href="mailto:gregory.machin@gmail.com">gregory.machin@gmail.com</a><br><a href="http://www.linuxpro.co.za">www.linuxpro.co.za</a>