东方耀AI技术分享

标题: 安装gnuradio的web显示库gr-bokehgui [打印本页]

作者: 东方耀    时间: 2022-11-2 17:21
标题: 安装gnuradio的web显示库gr-bokehgui




安装gnuradio的web显示库gr-bokehgui




https://github.com/gnuradio/gr-bokehgui






git clone -b maint-3.8 https://github.91chi.fun//github.com/gnuradio/gr-bokehgui.git






-- Python checking for bokeh - not found
pip3 install bokeh    Successfully installed bokeh-2.3.3


后 就输出:-- Python checking for bokeh - found

fatal error: numpy/arrayobject.h: 没有那个文件或目录
#include <numpy/arrayobject.h>

>>> import numpy as np
>>> np.get_include()
'/home/dfy/.local/lib/python3.6/site-packages/numpy/core/include'


在gr-bokehgui/CMakeLists.txt中加入
include_directories("/home/dfy/.local/lib/python3.6/site-packages/numpy/core/include")

NodeJs >= 14 (To use the waterfall plot)  我暂时没装







作者: 东方耀    时间: 2022-11-2 19:57

我的gnuradio_v3.8.5 一直报错:

File "test_bokehgui.py", line 75, in __init__
    shift=False)
  File "/usr/local/lib/python3/dist-packages/gnuradio/fft/logpwrfft.py", line 67, in __init__
    fft = self._fft_block[0](fft_size, True, fft_window, shift=shift)
TypeError: make() got an unexpected keyword argument 'shift'


好像 gr-bokehgui_for_Gnuradio_3.8.2  版本要求这样严格吗?


作者: 东方耀    时间: 2022-11-3 09:28
东方耀 发表于 2022-11-2 19:57
我的gnuradio_v3.8.5 一直报错:

File "test_bokehgui.py", line 75, in __init__

我靠 的确是这样   3.8.5不行报错  但是用3.8.2或3.8.3是 没问题的
我用的是: gnuradio_v3.8.2_1_最开始的研究log很多乱_220729.zip
作者: 东方耀    时间: 2022-11-3 10:13
ERROR:tornado.application:Uncaught exception GET / (127.0.0.1)
HTTPServerRequest(protocol='http', host='127.0.0.1:5006', method='GET', uri='/', version='HTTP/1.1', remote_ip='127.0.0.1')
Traceback (most recent call last):
  File "/home/dfy/.local/lib/python3.6/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/home/dfy/.local/lib/python3.6/site-packages/bokeh/server/views/doc_handler.py", line 58, in get
    template_variables=session.document.template_variables)
  File "/home/dfy/.local/lib/python3.6/site-packages/bokeh/embed/server.py", line 237, in server_html_page_for_session

作者: 东方耀    时间: 2022-11-3 10:15
  File "/home/dfy/.local/lib/python3.6/site-packages/bokeh/util/compiler.py", line 408, in _nodejs_path
    _nodejs = _detect_nodejs()
  File "/home/dfy/.local/lib/python3.6/site-packages/bokeh/util/compiler.py", line 400, in _detect_nodejs
    '("conda install nodejs" or follow https://nodejs.org/en/download/)')
RuntimeError: node.js v14.0.0 or higher is needed to allow compilation of custom models ("conda install nodejs" or follow https://nodejs.org/en/download/)
ERROR:tornado.access:500 GET / (127.0.0.1) 104.26ms
作者: 东方耀    时间: 2022-11-3 10:51
放弃了: 在u18.04上 gr3.8.2上安装好了 gr-bokeh 但是无法运行 报错  扯到了 tornado的问题      准备在gr 3.9上试试
作者: kiko    时间: 2022-11-6 11:25
学习中,支持
作者: kiko    时间: 2022-11-6 11:25
学习中,支持
作者: kiko    时间: 2022-11-6 11:25
学习中,支持
作者: kiko    时间: 2022-11-6 11:26
学习中,支持
作者: kiko    时间: 2022-11-6 11:26
学习中,支持
作者: kiko    时间: 2022-11-6 11:27
学习中,支持
作者: kiko    时间: 2022-11-6 11:27
学习中,支持
作者: kiko    时间: 2022-11-6 11:28
学习中,支持
作者: kiko    时间: 2022-11-6 11:28
学习中,支持
作者: kiko    时间: 2022-11-6 11:28
学习中,支持
作者: kiko    时间: 2022-11-6 11:29
学习中,支持
作者: kiko    时间: 2022-11-6 11:29
学习中,支持
作者: kiko    时间: 2022-11-6 11:30
学习中,支持
作者: kiko    时间: 2022-11-6 11:30
学习中,支持
作者: kiko    时间: 2022-11-6 11:30
学习中,支持
作者: 欧三帮    时间: 2022-11-22 15:27
让天下人人学会人工智能!人工智能的前景一片大好!




欢迎光临 东方耀AI技术分享 (http://www.ai111.vip/) Powered by Discuz! X3.4