[chirp_users] Fwd: Re: Linux My CHIRP Protests
D.J.J. Ring, Jr.
n1ea at arrl.net
Wed Jun 25 10:55:34 PDT 2014
I have python2 installed.
The first line in the chirpw fiile says:
Which is what https://wiki.archlinux.org/index.php/python says it should
be to use python2.
I have no py27 so the command py27 chirpw fails.
So it appears that I still have python2 installed and the heading in chirpw
I make a symbolic link from python2 to py27 so I can use a command like you
# ln -s /usr/bin/python2 /usr/bin/py27
# ls /usr/bin/py27 -l
lrwxrwxrwx 1 root root 16 Jun 25 13:47 /usr/bin/py27 -> /usr/bin/python2
# py27 chirpw
Traceback (most recent call last):
File "chirpw", line 25, in <module>
ImportError: No module named gtk
# locate pygtk
I guess chirpw is failing only because it cannot find and import pygtk.
If I knew what I was doing it would help you I am sure, but you're stuck
with ignorance on this end.
But I take directions pretty well.
On Wed, Jun 25, 2014 at 10:47 AM, Dan Smith <dsmith at danplanet.com> wrote:
> > Python 3 is now standard for ARCH Linux.
> That has nothing to do with it. If you can't also install a python 2
> runtime, then you need to get a different distro. Python 3 is part of
> the standard install of Ubuntu too, but they also include a Python 2
> runtime because so many things still require it (anything that uses
> pygtk, for starters).
> > Is there a beta version of CHIR that works under python 3?
> No. Python 3 is not compatible with Python 2, and PyGTK will never be
> ported to Python 3. Making CHIRP support Python 3 will require a
> substantial rewrite of its entire UI to use the new bindings. It will
> happen someday, but not any time soon.
> Google for "python 3 pygtk" and you'll see a lot of similar confusion.
> Looks like all you have to do is install the python2 package in Arch:
> ...and as I said, arrange for chirp to be run by /usr/bin/python2
> instead of /usr/bin/python.
> chirp_users mailing list
> chirp_users at intrepid.danplanet.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chirp_users