Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gr-aistx pybombs python error #12

Open
damgoap opened this issue Nov 26, 2019 · 2 comments
Open

gr-aistx pybombs python error #12

damgoap opened this issue Nov 26, 2019 · 2 comments

Comments

@damgoap
Copy link

damgoap commented Nov 26, 2019

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

@A1337CBS
Copy link
Contributor

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

@yanno9
Copy link

yanno9 commented Aug 13, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants