Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi Anton,
Did you install all of the dependencies listed here
https://files.ettus.com/manual/page_build_guide.html#build_dependencies_ubuntu?
The error is a python error in not finding a needed package. It is possible
you need to configure PYTHONPATH to point to a UHD folder. Did you specify
the FPGA_DIR option to rfnoc_image_builder?
Rob
On Thu, May 19, 2022 at 9:42 AM Dobler, Anton anton.dobler@unibw.de wrote:
Dear community,
does anyone have an idea what the problem is about that import error?
I checked the files for UHD4.0 (the rfnoc_image_builder runs fine here)
but I am not experienced enough to find the problem...
Any help would be very appreciated!
BR,
Anton
Von: Dobler, Anton
Gesendet: Donnerstag, 12. Mai 2022 17:19
An: discuss-gnuradio@gnu.org; usrp-users@lists.ettus.com
Betreff: RFNoC image builder problem
Dear community,
I am running UHD4.2 on Ubuntu 20.04. When I try to run
rfnoc_image_builder, I get the following error:
rfnoc_image_builder --help
Traceback (most recent call last):
File "/usr/local/bin/rfnoc_image_builder", line 29, in <module>
from uhd.imgbuilder import image_builder
ImportError: cannot import name 'image_builder' from 'uhd.imgbuilder'
(unknown location)
What is the issue here? I tried UHD4.1 but got the same issue here...
Any help is very appreciated!
BR,
Anton
I think I had this problem when I installed UHD to a non-standard location.
I did this to my PYTHONPATH variable:
export
PYTHONPATH=$PYTHONPATH:<UHD_INSTALL_LOCATION>/lib/python3.8/site-packages
Where <UHD_INSTALL_LOCATION> is the location where I had UHD installed.
Also the Python version (3.8) in that path might be different for you.
Wade
On Thu, May 19, 2022 at 9:22 AM Rob Kossler rkossler@nd.edu wrote:
Hi Anton,
Did you install all of the dependencies listed here
https://files.ettus.com/manual/page_build_guide.html#build_dependencies_ubuntu?
The error is a python error in not finding a needed package. It is possible
you need to configure PYTHONPATH to point to a UHD folder. Did you specify
the FPGA_DIR option to rfnoc_image_builder?
Rob
On Thu, May 19, 2022 at 9:42 AM Dobler, Anton anton.dobler@unibw.de
wrote:
Dear community,
does anyone have an idea what the problem is about that import error?
I checked the files for UHD4.0 (the rfnoc_image_builder runs fine here)
but I am not experienced enough to find the problem...
Any help would be very appreciated!
BR,
Anton
Von: Dobler, Anton
Gesendet: Donnerstag, 12. Mai 2022 17:19
An: discuss-gnuradio@gnu.org; usrp-users@lists.ettus.com
Betreff: RFNoC image builder problem
Dear community,
I am running UHD4.2 on Ubuntu 20.04. When I try to run
rfnoc_image_builder, I get the following error:
rfnoc_image_builder --help
Traceback (most recent call last):
File "/usr/local/bin/rfnoc_image_builder", line 29, in <module>
from uhd.imgbuilder import image_builder
ImportError: cannot import name 'image_builder' from 'uhd.imgbuilder'
(unknown location)
What is the issue here? I tried UHD4.1 but got the same issue here...
Any help is very appreciated!
BR,
Anton
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com