How to import bladerf in python code

Discussions related to embedded firmware, driver, and user mode application software development

Moderator: robert.ghilduta

Post Reply
Posts: 3
Joined: Thu Jul 05, 2018 8:42 am

How to import bladerf in python code

Post by wkim » Tue Jul 10, 2018 8:57 am


I would like to connect to my python code. ...

However, i don't know how to import the cc file in the python code.
I wrote "import osmosdr". But it doesn't work.

Does anyone know what modules I should import in order to use the bladerf_sink_c file?

Thank you.

User avatar
Posts: 77
Joined: Sun Jan 25, 2015 10:38 am

Re: How to import bladerf in python code

Post by rtucker » Thu Jul 12, 2018 12:41 pm


For a practical example, take a look at: ...

You will need to have a working GNU Radio installation to use gr-osmosdr. Many Linux distributions provide it through their package manager, or you can install it using GNU Radio's PyBOMBS system ( If you're using PyBOMBS, note that you may need to use "pybombs run" to ensure the environment is set up correctly when running your script.
Rey Tucker (she/her)
Systems Engineer, Nuand LLC
Rochester, NY, USA


Posts: 1
Joined: Wed Feb 13, 2019 2:55 am

Re: How to import bladerf in python code

Post by amsaleka » Wed Feb 13, 2019 2:56 am

Thanks for such a great article here. I was searching for something like this for quite a long time and at last, I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays.Also Checkout:" ... n-chennai/"

Post Reply