Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with "import gnuradio.ais" #29

Open
n1delbono opened this issue Jun 28, 2021 · 1 comment
Open

Problem with "import gnuradio.ais" #29

n1delbono opened this issue Jun 28, 2021 · 1 comment

Comments

@n1delbono
Copy link

Hello. When compiling, an error saying that python “cannot import name ‘ais’ from ‘gnuradio’” appears. We believe that the python path is set correctly, and that gnuradio does not have the AIS module. The python path is set in “/usr/local/lib/python3/dist-packages”.
Is there anything else that needs to be configured?

@seDavo01
Copy link

Hi, I've encountered the same problem and for me it was related to the installation path.
In my case, on Debian 11, I have GNU radio installed in /usr (from official repo) , while the default installation path of gr-ais is /usr/local (to be honest, the default installation path of GNU radio is /usr/local too).

So, I fixed the problem using
cmake ../ -DCMAKE_INSTALL_PREFIX:PATH=/usr
instead of
cmake ../

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants