OK, I didn't realise that GNU Radio needed the Python UHD module to be installed. I deliberately excluded the Python API from my UHD driver build in order to try out Christian's custom Python API.
I will remove the custom API today, and install a "stock" UHD driver with the Ettus Python API. Then I will give the GNU Radio installation another try. Thanks, Brendan. On Tue, Apr 20, 2021 at 8:35 AM Marcus D. Leech <patchvonbr...@gmail.com> wrote: > On 04/19/2021 06:21 PM, Brendan Horsfield wrote: > > Importing uhd in Python 3: > /usr/local/lib/python3.6/dist-packages/uhd-1.1.0-py3.6-linux-x86_64.egg/ > uhd.cpython-36m-x86_64-linux-gnu.so > > (Note that this is an alternative Python UHD module written by Christian > Hahn, which I have been evaluating for the last few days.) > > Trying to import uhd in Python 2 (which I never use) returns an error: > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/local/lib/python2.7/dist-packages/uhd/__init__.py", line 10, > in <module> > File "/usr/local/lib/python2.7/dist-packages/uhd/types.py", line 10, in > <module> > # "__iter__" and "next" attributes instead. > ImportError: cannot import name libpyuhd > > Brendan. > > Given that gr-uhd wants a module called "uhd" to exist, and GR uses > gr-uhd, i'm not sure what will happen with the > name-space pollution that will result. > > >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com