问题描述
我在 Ubuntu 18.04 上安装了 gnuradio,但我不确定我是否正确安装。我尝试构建 https://github.com/ccera-astro/spectro_radiometer,但它不起作用。我收到如下错误:
>>> Converting from XML
ERROR:gnuradio.grc.core.FlowGraph:Failed to evaluate import expression "import spectro_helper # embedded python module"
Traceback (most recent call last):
File "/usr/local/lib/python3/dist-packages/gnuradio/grc/core/FlowGraph.py",line 234,in renew_namespace
exec(expr,namespace)
File "<string>",line 1,in <module>
File "/home/antonio/Downloads/spectro_radiometer/spectro_helper.py",line 97
print "Setting mask at F %f position %d (%f)" % (float(f),i,incr*float(i))
^
SyntaxError: invalid Syntax
ERROR:gnuradio.grc.core.FlowGraph:Failed to evaluate expression in module spectro_helper
Traceback (most recent call last):
File "/usr/local/lib/python3/dist-packages/gnuradio/grc/core/FlowGraph.py",line 247,module.__dict__)
File "<string>",incr*float(i))
任何人都可以帮助我安装正确版本的 gnuradio 或解决这些问题,因为我也在 MacOS 上尝试过,但没有奏效。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)