ais
ais copied to clipboard
gr-aistx pybombs python error
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
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
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.