Gnuradio:Modulenotfounderror:No模块名为' dpd'

发布于 2025-02-13 22:41:01 字数 1202 浏览 3 评论 0原文

我成功地从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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

尘世孤行 2025-02-20 22:41:02

问题:

modulenotfounderror:没有名为'dpd_static_support'

的模块

解决方案的模块:

pip install dpd_static_support

Problem:

ModuleNotFoundError: No module named 'dpd_static_support'

Solution:

pip install dpd_static_support
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文