[chirp_devel] run_tests: No module named serial
Tom Hayward
Wed Apr 9 15:40:50 PDT 2014
On Wed, Apr 9, 2014 at 3:28 PM, <chirp.cordless at xoxy.net> wrote:
> I just did a clean clone of the repository.
>
> Per the process outlined at
> http://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess
> I thought I'd see how the tests run before I make any changes:
>
> dan[tests]$ run_tests
> Traceback (most recent call last):
> File "./run_tests", line 20, in <module>
> from serial import Serial
> ImportError: No module named serial
run_tests is trying to use /usr/bin/python instead of
/opt/kk7ds/bin/python. /opt/kk7ds/bin/python is the version that
includes python-serial. There are a few ways to resolve this. I'll
defer that to someone else (you can probably figure it out).
> I'm on a Mac running OS X 10.9.2
> Chirp runs ok, it says I'm using (Python 2.7.2).
I'm curious how you are running Chirp ok without python-serial. I have
to call Chirp like this on OS X:
/opt/kk7ds/bin/python ./chirpw
Tom KD7LXL
More information about the chirp_devel
mailing list