Ubuntu installation with python support.

Having issues with the site, hardware, source code, or any other issues?
Post Reply
pavlovy
Posts: 2
Joined: Fri Jan 27, 2023 4:13 am

Ubuntu installation with python support.

Post by pavlovy »

Running installation according to the manual leads to normal CLI operation. But when I try to
sudo apt-get install python3-bladerf
it shows the following error:
python3-bladerf : Depends: libbladerf-dev (= 0.2021.10-2) but 2022.08~jammy is to be installed

I made a workaround by installing:
libbladerf2=0.2021.10-2
libbladerf-dev=0.2021.10-2

That totally worked on one machine (Ubuntu 22.04) but on another one (Kubuntu 22.04) the importing of bladerf works in python (with later FPGA image error) but installing of bladerf-fpga-hostedxa4 leads to upgrades of the above libraries to 2022.08~jammy and total breaking of my python dependencies. The lib can't be imported anymore. This circular dependency error does not let me use the library from python.
Can anyone help me solve that, please?
pavlovy
Posts: 2
Joined: Fri Jan 27, 2023 4:13 am

Re: Ubuntu installation with python support.

Post by pavlovy »

Okay, managed to solve this by manual uploading of the FPGA from python and not installing the auto FPGA loader. But still, the conflicts of the versions don't look too healthy.
wilkinsonwilfrid
Posts: 1
Joined: Sun Dec 24, 2023 8:13 pm

Re: Ubuntu installation with python support.

Post by wilkinsonwilfrid »

I got around issue by not installing the auto FPGA loader and instead uploading the FPGA manually via Python. Still, it doesn't appear like the versions' disagreements are helping matters.
Post Reply