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> &lt;<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>&gt; 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>&gt;Hi<br>&gt;when i run yum i get the following<br>&gt;<br>&gt;[root@fwlw-dsl ~]# yum update<br>&gt;import: unable to open X server `'.<br>&gt;/usr/bin/yum: line 3: try:: command not found
<br>&gt;import: unable to open X server `'.<br>&gt;/usr/bin/yum: line 5: except: command not found<br>&gt;/usr/bin/yum: line 23: syntax error near unexpected token `('<br>&gt;/usr/bin/yum: line 23: `&quot;&quot;&quot; % (
sys.exc_value, sys.version)'<br>&gt;<br>&gt;I have reinstalled yum and it's the same ....<br>&gt;what do i try next ...<br><br>I don't know.&nbsp;&nbsp;For some reason, yum is being run as a bash script rather<br>than a python script.&nbsp;&nbsp;The file /usr/bin/yum should have a first line that
<br>refers to python:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;#!/usr/bin/python<br><br>Typing &quot;python&quot; at the command line should run python (press Ctl-d to get<br>back out).<br>--<br>____________________________________________________________________
<br>TonyN.:'&nbsp;&nbsp;&nbsp;&nbsp;The Great Writ&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;is no more.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="http://www.georgeanelson.com/">http://www.georgeanelson.com/
</a>&gt;<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>