我试图在raspberryPi2上使用gnuradio中的osmosdr源代码。 随着来自git的osmosdr我得到
Traceback (most recent call last):
File "urmet.py", line 20, in <module>
import osmosdr
File "/usr/local/lib/python2.7/dist-packages/osmosdr/__init__.py", line 26, in <module>
from osmosdr_swig import *
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 17, in <module>
_osmosdr_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/osmosdr/osmosdr_swig.py", line 16, in swig_import_helper
return importlib.import_module('_osmosdr_swig')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _osmosdr_swig
来自apt-get的osmosdr:
linux; GNU C++ version 6.2.0 20161010; Boost_106100; UHD_003.009.005-0-unknown
gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.10
built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya
*** Error in `python': corrupted double-linked list: 0x01259bf0 ***
Annullato
使用pybombs我无法安装:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd8 in position 641: invalid continuation byte
我做错了什么?
答案 0 :(得分:0)
我在rpi3上获得了双链表错误以及rasbian stretch 9.3:
*** Error in `python': corrupted double-linked list: ... ***
此外,有时gnuradio在初始化osmosdr块后也会发生段错误。
现在可以在从deb repo安装gnuradio和libhackrf并从源代码编译gnuradio块gr-osmosdr之后工作。