[chirp_devel] run_tests: No module named serial
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
I searched the developer mail archive, and looked at the hg history info for the file, I don't see anything related. I'm probably missing something silly, but I don't know what it is.
I'm on a Mac running OS X 10.9.2 Chirp runs ok, it says I'm using (Python 2.7.2).
What am I missing?
-dan
On Wed, Apr 9, 2014 at 3:28 PM, chirp.cordless@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
I think you'll need to install PySerial (hoping you are also using the custom KK7DS python install in /opt/KK7DS/)
________________________________ From: "chirp.cordless@xoxy.net" chirp.cordless@xoxy.net To: chirp_devel@intrepid.danplanet.com Sent: Wednesday, April 9, 2014 5:28 PM Subject: [chirp_devel] run_tests: No module named serial
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
I searched the developer mail archive, and looked at the hg history info for the file, I don't see anything related. I'm probably missing something silly, but I don't know what it is.
I'm on a Mac running OS X 10.9.2 Chirp runs ok, it says I'm using (Python 2.7.2).
What am I missing?
-dan
_______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
participants (3)
-
chirp.cordless@xoxy.net
-
Jens J.
-
Tom Hayward