[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error installing spectrometer_w_cal.grc

From: Marcus Müller
Subject: Re: Error installing spectrometer_w_cal.grc
Date: Mon, 12 Jul 2021 10:36:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

Hi Robert,

On 11.07.21 17:53, Robert Baker wrote:
> Yes, the flowgraph relies on the osmosdr block to acquire data from an airspy.
> Installed GNURadio GNURadio 3.8 from source from the maint-3.8
> https://github.com/gnuradio/gnuradio/tree/maint-3.8
> <https://github.com/gnuradio/gnuradio/tree/maint-3.8>

Very well,

> and installing gr-osmosdr from source- using ` sudo apt install ` 

That's the opposite of installing from source! This is a binary install through 
package manager, which knows that gr-osmosdr depends on GNU Radio, so it 
installs the
Debian GNU Radio package, which means now you have two competing GNU Radio 
One 3.8 from source, one from debian buster.

So, now it's not clear what your system finds when it looks for libraries like
_osmosdr_swig. You will need to uninstall all GNU Radio things you've installed 
via `apt
install`; i.e. you really need to run `apt autoremove gr-osmosdr`.
Afterwards, you will have to re-install GNU Radio from source, and finally 
gr-osmosdr from source.

Is buster the most recent debian version for Raspberry Pi? This would be much 
much much
easier if you had something more modern. Then, you could actually just `apt 
gnuradio gr-osmosdr` to get a GNU Radio 3.8.

Best regards,

> but that did not work
> gnuradio companion sar osmosdr does not exist. So i installed gr-osmosdr from 
> source from
> teh gr3.8 branch https://github.com/osmocom/gr-osmosdr/tree/gr3.8
> <https://github.com/osmocom/gr-osmosdr/tree/gr3.8>
> The osmosdr block shows up but  get this error after running the flow graph.
> `ModuleNotFoundError: No module named '_osmosdr_swig'`
> Thanks,
> Robert Baker
> On Sun, Jul 11, 2021 at 3:06 PM Marcus Müller <mmueller@gnuradio.org
> <mailto:mmueller@gnuradio.org>> wrote:
>     Hello!
>     It's sadly not quite clear what you're trying to do. From the name of the 
> file,
>     spectrometer_w_calc.grc is a flowgraph, not something you need to install.
>     Looking at the error message: How did you install gr-osmosdr on the 
> raspberry pi? How GNU
>     Radio?
>     Best regards,
>     Marcus
>     On 11.07.21 20:31, Robert Baker wrote:
>     > I am trying to install spectrometer_w_calc.grc 
>     > on a raspberrypi 4B running 
>     > Raspbian GNU/Linux 10 (buster)
>     > GNU Radio Companion v3.8.3.1-4-gafa3b031 (Python 3.7.3)
>     >
>     > ModuleNotFoundError: No module named '_osmosdr_swig'
>     > I am using an Osmocom block with an airspy
>     >
>     > Thank you,
>     >
>     > Robert Baker

reply via email to

[Prev in Thread] Current Thread [Next in Thread]