gr-recipes icon indicating copy to clipboard operation
gr-recipes copied to clipboard

apache-thrift tries importing with python3, pybombs OOT install fails

Open rytse opened this issue 6 years ago • 0 comments

I am trying to install gr-radar with pybombs install gr-radar however while PyBOMBS is installing apache-thrift, I get the following error:

/usr/bin/python3 setup.py build
Error processing line 1 of /usr/lib/python3/dist-packages/apparmor.click-0.3.13.1-nspkg.pth:

Failed to import the site module
Traceback (most recent call last):
  File "/usr/lib/python3.5/site.py", line 173, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.5/types.py", line 166, in <module>
    import functools as _functools
  File "/usr/lib/python3.5/functools.py", line 21, in <module>
    from collections import namedtuple
  File "/usr/lib/python3.5/collections/__init__.py", line 32, in <module>
    from reprlib import recursive_repr as _recursive_repr
  File "/usr/local/lib/python2.7/dist-packages/reprlib/__init__.py", line 7, in <module>
    raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.

I have sucessfully installed GNURadio 3.7.12.0 with sudo pybombs prefix init /home/rytse/gnuradio/prefix -a myprefix -R gnuradio-stable. The full output of pybombs install gr-radar is here

rytse avatar Jul 17 '18 12:07 rytse