On 28/02/2023 23:01, AERMAN TUERXUN. wrote:
I also checked the uhd installation logs.
Why it couldn't find the uhd module?
-- Up-to-date: /usr/local/lib/python3.8/site-packages/uhd
-- Up-to-date: /usr/local/lib/python3.8/site-packages/uhd/imgbuilder
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/yaml_utils.py
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/__init__.py
-- Up-to-date:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/rfnoc_image_core.vh.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/rfnoc_image_core.v.mako
-- Up-to-date:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/connect_io_ports.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/device_transport.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/ctrl_crossbar.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/device_io_ports.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/chdr_xb_sep_transport.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/rfnoc_block.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/drive_unused_ports.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/static_router.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/stream_endpoints.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/sep_xb_wires.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/templates/modules/connect_clk_domains.v.mako
-- Installing:
/usr/local/lib/python3.8/site-packages/uhd/imgbuilder/image_builder.py
On Wed, Mar 1, 2023 at 11:52 AM AERMAN TUERXUN.
<armantur...@g.ecc.u-tokyo.ac.jp> wrote:
Hi USRP users,
I am currently developing an OOT RFNoC module.
When I tried to build a custom image, it gave me errors as below.
I checked the python path, and it seems fine.
Is there anyone that has any idea of the reason for this?
I am using n310 with uhd v4.2.0.0.
(I checked with uhd4.0, and didn't encounter this problem).
Thanks in advance.
Best regards.
Traceback (most recent call last):
File "/usr/local/bin/rfnoc_image_builder", line 29, in <module>
from uhd.imgbuilder import image_builder
ModuleNotFoundError: No module named 'uhd'
make[3]: ***
[icores/CMakeFiles/n310_rfnoc_image_core.dir/build.make:57:
icores/CMakeFiles/n310_rfnoc_image_core] Error 1
make[2]: *** [CMakeFiles/Makefile2:300:
icores/CMakeFiles/n310_rfnoc_image_core.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:307:
icores/CMakeFiles/n310_rfnoc_image_core.dir/rule] Error 2
make: *** [Makefile:203: n310_rfnoc_image_core] Error 2
_______________________________________________
USRP-users mailing list --usrp-users@lists.ettus.com
To unsubscribe send an email tousrp-users-le...@lists.ettus.com
Maybe your ld.so.conf doesn't include /usr/local/lib, or you didn't
"sudo ldconfig" after doing the install?
What's in your PYTHONPATH? Is that path actually *exported* or did you
set it locally in your .bashrc (or equivalent).
If you manually go into python and:
import uhd
What happens?
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com