我正在尝试按照官方说明(https://wiki.gnuradio.org/index.php/InstallingGR)在我的 Ubuntu 19.10 上手动安装 GNU Radio
当我尝试运行 GNU Radio 时,会弹出此错误:
python路径环境变量设置是否正确?所有操作系统:PYTHONPATH
库路径环境变量是否设置正确?Linux:LD_LIBRARY_PATH Windows:PATH MacOSX:DYLD_LIBRARY_PATH
没有名为“gnuradio”的模块
我在 Stackoverflow 上查看了关于这个问题的类似帖子,但仍然无法修复。
如何根据以下当前参数正确设置变量?
galib@galib-Lenovo-Y50-70:~$ python --version
Python 3.7.5
galib@galib-Lenovo-Y50-70:~$ echo $PYTHONPATH
:/lib/python3.7/dist-packages
galib@galib-Lenovo-Y50-70:~$ echo $LD_LIBRARY_PATH
/opt/qt/lib:/usr/local/lib::/home/galib/miniconda3/envs/dsp/lib
galib@galib-Lenovo-Y50-70:~$ which python
/usr/bin/python
galib@galib-Lenovo-Y50-70:~$ gnuradio-config-info -v
3.8.1.0
galib@galib-Lenovo-Y50-70:~$ gnuradio-config-info --prefix
/usr/local
galib@galib-Lenovo-Y50-70:~$ find /usr/local -name gnuradio | grep "packages"
/usr/local/lib/python3/dist-packages/gnuradio
galib@galib-Lenovo-Y50-70:~$ whereis python
python: /usr/bin/python3.7 /usr/bin/python3.7-config /usr/bin/python /usr/bin/python2.7-config /usr/bin/python2.7 /usr/bin/python3.7m-config /usr/bin/python3.7m /usr/lib/python3.7 /usr/lib/python3.6 /usr/lib/python3.8 /usr/lib/python2.7 /etc/python3.7 /etc/python /etc/python2.7 /usr/local/lib/python3.7 /usr/local/lib/python2.7 /usr/include/python3.7 /usr/include/python2.7 /usr/include/python3.7m /usr/share/python /usr/share/man/man1/python.1.gz