ais icon indicating copy to clipboard operation
ais copied to clipboard

gr-aistx pybombs python error

Open damgoap opened this issue 4 years ago • 2 comments

I recently installed gnuradio 3.7.13.15 with pybombs. (ref : https://github.com/Nuand/bladeRF/wiki/Getting-Started:-Linux ) However, the installation of gr-aistx with pybombs failed. It seems to be a problem of python version (python 3 is used rather than python2.7) but I do not know how can I fix this issue.

Here, is some information concerning my OS version and pybombs installation : OS : VERSION="18.04.3 LTS (Bionic Beaver)" PyBOMBS Version 2.3.4a0 Prefix Python version is: 2.7.15 Gnuradio version : 3.7.13.5 Python versions : 2.7(default) & 3.6

gr-aistx_error0 gr-aistx_error

damgoap avatar Nov 26 '19 18:11 damgoap

Hi, I had the same error, this means your system picked up the wrong python, in this case python3, you need python 2, #9 check this

A1337CBS avatar Dec 15 '19 18:12 A1337CBS

I found how to fix the part about python by changing the python print call in GrPython.cmake file and keeping using Python3. Before: print sysconfig.get_python_lib(plat_specific=True, prefix='') After: print(sysconfig.get_python_lib(plat_specific=True, prefix=''))

The reason is that the print line works on python2.7, but breaks on Python3 because it was one the breaking change between Python2 and Python3.

yanno9 avatar Aug 13 '20 20:08 yanno9