Page 1 of 1

Ubuntu installation with python support.

Posted: Fri Jan 27, 2023 4:41 am
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?

Re: Ubuntu installation with python support.

Posted: Fri Jan 27, 2023 2:52 pm
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.

Re: Ubuntu installation with python support.

Posted: Sun Dec 24, 2023 8:17 pm
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.