Gnuradio:Modulenotfounderror:No模块名为' dpd'
我成功地从ubuntu 20焦点上的来源(不安装)构建了Gnuradio 3.8.1.0(Python 3.8.10)。我执行了整个教程,每个教程都没有问题。 Gnuradio的工作非常完美。
然后,我根据指示成功地构建和安装了GR-DPD。 ( https://github.com/gnuradio/gradio/gr-dpd )。我能够成功地为DPD构建流程图。 ( https://raw.githubusercontent.com/gnuradio/gr-dpd/master/raw/raw/rls_test_run_two_tone_setup.jpg.jpg )但是,当我跑步时,我会得到以下什么:
<<< Welcome to GNU Radio Companion 3.8.1.0 >>>
Block paths:
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks
Loading: "/home/user0/gnuradio/DPD/RLS_test_run_two_tone_setup.grc"
>>> Done
Generating: '/home/user0/gnuradio/DPD/MyDPD.py'
Executing: /usr/bin/python3 -u /home/user0/gnuradio/DPD/MyDPD.py
Traceback (most recent call last):
File "/home/user0/gnuradio/DPD/MyDPD.py", line 36, in <module>
import dpd
ModuleNotFoundError: No module named 'dpd'
>>> Done (return code 1)
我应该做什么:我该怎么办? (我是Python的新手。)
I successfully built gnuradio 3.8.1.0 (Python 3.8.10) from source on Ubuntu 20 focal (did not apt install). I executed the entire tutorial and ran each one without issue. Gnuradio worked perfectly.
Then I successfully built and installed gr-dpd according to directions.
(https://github.com/gnuradio/gr-dpd). I was able to build the flowgraph for DPD successfully. (https://raw.githubusercontent.com/gnuradio/gr-dpd/master/raw/RLS_test_run_two_tone_setup.jpg) However, when I ran it I got the following:
<<< Welcome to GNU Radio Companion 3.8.1.0 >>>
Block paths:
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks
Loading: "/home/user0/gnuradio/DPD/RLS_test_run_two_tone_setup.grc"
>>> Done
Generating: '/home/user0/gnuradio/DPD/MyDPD.py'
Executing: /usr/bin/python3 -u /home/user0/gnuradio/DPD/MyDPD.py
Traceback (most recent call last):
File "/home/user0/gnuradio/DPD/MyDPD.py", line 36, in <module>
import dpd
ModuleNotFoundError: No module named 'dpd'
>>> Done (return code 1)
What should I do? (I am new to Python.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题:
解决方案的模块:
Problem:
Solution: