bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
438 stars 126 forks source link

ImportError: No module named air_modes #95

Open bsmigs opened 7 years ago

bsmigs commented 7 years ago

Hi folks, I am just getting started GNU radio project -- running it on Mac OS X, El Capitan. I am trying to install gr-air-modes and ultimately end up getting an error when trying to run modes_rx:

modes_rx --help Traceback (most recent call last): File "/usr/local/bin/modes_rx", line 27, in <module> import air_modes ImportError: No module named air_modes

When I follow the build steps, this is what I get after running cmake:

`bash-3.2$ cmake ../ -- The CXX compiler identification is AppleClang 8.0.0.8000042 -- The C compiler identification is AppleClang 8.0.0.8000042 -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Boost version: 1.59.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- thread -- chrono -- atomic -- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.10", minimum required is "2") -- Found PkgConfig: /opt/local/bin/pkg-config (found version "0.29.1") Checking for GNU Radio Module: RUNTIME -- Checking for module 'gnuradio-runtime' -- Found gnuradio-runtime, version 3.7.10.1

This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done -- Build files have been written to: /Users/smigs/Desktop/itsRandom/Radio_projects/bistromath-gr-air-modes-3bad1f5/build `

From reading prior posts it seems there is an issue with the PYTHONPATH. But trying all of the fixes from those prior posts I either still get a fatal error or the import error.

Please help. I'm running out of things to try. Thanks for your time

--Brian