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
<http://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