Discussion and technical support related to USRP, UHD, RFNoC
View all threadsI'm having some trouble installing the python API. I've been using uhd for a long time, but this is the first time for me to install the API. I am using Ubuntu 22.04 with "UHD 4.8.0.0ubuntu1-jammy1", as reported by the first line of code below, and python 3.12.3.is from the manual webpage:
To perform the mentioned steps, use the commands below:
<UHD Install Dir>\bin\uhd_config_info.exe --version #find the version of UHD <python> -m pip install uhd==<version_from_config_info> #install matching wheel
$ python3 -m pip install uhd==UHD_4.8.0.0ubuntu1-jammy1
ERROR: Could not find a version that satisfies the requirement
uhd==UHD_4.8.0.0ubuntu1-jammy1 (from versions: none)
ERROR: No matching distribution found for uhd==UHD_4.8.0.0ubuntu1-jammy1
$ python3 -m pip index versions uhd
WARNING: pip index is currently an experimental command. It may be
removed/changed in a future release without prior warning.
ERROR: No matching distribution found for uhd
I tried UHD with a space, with an underline, are removing it; same result each time. What is the correct way to represent the specification for uhd==? Is Ubuntu 22 a mismatch with uhd 4.8.0.0?
We currently provide wheels for Windows, because Linux users usually get
the Python API through other means. If you're using Ubuntu 22.04, then you
can simply do apt install python3-uhd
.
--M
On Thu, Jul 17, 2025 at 8:54 PM page heller pageheller@gmail.com wrote:
I'm having some trouble installing the python API. I've been using uhd for
a long time, but this is the first time for me to install the API. I am
using Ubuntu 22.04 with "UHD 4.8.0.0ubuntu1-jammy1", as reported by the
first line of code below, and python 3.12.3.is from the manual webpage:
To perform the mentioned steps, use the commands below:
<UHD Install Dir>\bin\uhd_config_info.exe --version #find the version of UHD
<python> -m pip install uhd==<version_from_config_info> #install matching wheel
$ python3 -m pip install uhd==UHD_4.8.0.0ubuntu1-jammy1
ERROR: Could not find a version that satisfies the requirement
uhd==UHD_4.8.0.0ubuntu1-jammy1 (from versions: none)
ERROR: No matching distribution found for uhd==UHD_4.8.0.0ubuntu1-jammy1
$ python3 -m pip index versions uhd
WARNING: pip index is currently an experimental command. It may be
removed/changed in a future release without prior warning.
ERROR: No matching distribution found for uhd
I tried UHD with a space, with an underline, are removing it; same result
each time. What is the correct way to represent the specification for
uhd==? Is Ubuntu 22 a mismatch with uhd 4.8.0.0?
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
Hi,
one addition: you need to add the EttusResearch PPA (https://launchpad.net/~ettusresearch/+archive/ubuntu/uhd) to your system before you can install UHD and the associated python bindings in the latest version (currently UHD 4.8):
sudo add-apt-repository ppa:ettusresearch/uhd
sudo apt update
sudo apt install uhd-host python3-uhd
Kind regards,
Jörg
Thanks, Martin and Jörg, for your prompt response. I did try apt install python3-uhd
but could not import uhd. I think I'll do a full backup, install the ppa and update. If that doesn't work I think I'll reinstall uhd. -p
On 7/18/2025 4:30:40 AM, joerg.hofrichter--- via USRP-users usrp-users@lists.ettus.com wrote:
Hi,
one addition: you need to add the EttusResearch PPA (https://launchpad.net/~ettusresearch/+archive/ubuntu/uhd) to your system before you can install UHD and the associated python bindings in the latest version (currently UHD 4.8):
sudo add-apt-repository ppa:ettusresearch/uhd sudo apt update sudo apt install uhd-host python3-uhd
Kind regards,
Jörg
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-leave@lists.ettus.com