<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hello Dan,<br><br></div>Thank you.<br><br></div>I have python2 installed.<br><br></div>The first line in the chirpw fiile says:<br><br>

#!/usr/bin/python2<br><br></div>Which is what   <a href="https://wiki.archlinux.org/index.php/python" target="_blank">https://wiki.archlinux.org/index.php/python</a> says it should be to use python2.<br><br></div>I have no py27 so the command py27 chirpw fails.<br>

<br></div>So it appears that I still have python2 installed and the heading in chirpw is correct.<br><br></div>I make a symbolic link from python2 to py27 so I can use a command like you suggest.<br><br># ln -s /usr/bin/python2 /usr/bin/py27<br>

# ls /usr/bin/py27 -l<br>lrwxrwxrwx 1 root root 16 Jun 25 13:47 /usr/bin/py27 -&gt; /usr/bin/python2<br><br># py27 chirpw<br>Traceback (most recent call last):<br>  File &quot;chirpw&quot;, line 25, in &lt;module&gt;<br>
    import gtk<br>
ImportError: No module named gtk<br><br></div>Finding pygtk:<br><br># locate pygtk<br>/usr/bin/pygtk-codegen-2.0<br>/usr/bin/pygtk-demo<br>/usr/include/pygtk-2.0<br>/usr/include/pygtk-2.0/pyglib.h<br>/usr/include/pygtk-2.0/pygobject.h<br>

/usr/include/pygtk-2.0/pygtk<br>/usr/include/pygtk-2.0/pygtk/pygtk.h<br>/usr/lib/pygtk<br></div>&lt;SNIP SNIP&gt;<br><br></div>I guess chirpw is failing only because it cannot find and import pygtk.<br><br></div>If I knew what I was doing it would help you I am sure, but you&#39;re stuck with ignorance on this end.<br>

<br></div>But I take directions pretty well.<br><br></div>Any suggestions?<br><br></div>With gratitude,<br><br></div>David N1EA<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 25, 2014 at 10:47 AM, Dan Smith <span dir="ltr">&lt;<a href="mailto:dsmith@danplanet.com" target="_blank">dsmith@danplanet.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">&gt; Python 3 is now standard for ARCH Linux.<br>
<br>
</div>That has nothing to do with it. If you can&#39;t also install a python 2<br>
runtime, then you need to get a different distro. Python 3 is part of<br>
the standard install of Ubuntu too, but they also include a Python 2<br>
runtime because so many things still require it (anything that uses<br>
pygtk, for starters).<br>
<div class=""><br>
&gt; Is there a beta version of CHIR that works under python 3?<br>
<br>
</div>No. Python 3 is not compatible with Python 2, and PyGTK will never be<br>
ported to Python 3. Making CHIRP support Python 3 will require a<br>
substantial rewrite of its entire UI to use the new bindings. It will<br>
happen someday, but not any time soon.<br>
<br>
Google for &quot;python 3 pygtk&quot; and you&#39;ll see a lot of similar confusion.<br>
<br>
Looks like all you have to do is install the python2 package in Arch:<br>
<br>
  <a href="https://wiki.archlinux.org/index.php/python" target="_blank">https://wiki.archlinux.org/index.php/python</a><br>
<br>
...and as I said, arrange for chirp to be run by /usr/bin/python2<br>
instead of /usr/bin/python.<br>
<span class="HOEnZb"><font color="#888888"><br>
--Dan<br>
<br>
</font></span><br>_______________________________________________<br>
chirp_users mailing list<br>
<a href="mailto:chirp_users@intrepid.danplanet.com">chirp_users@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_users" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_users</a><br>
<br></blockquote></div><br></div>