On 05/03/2018 07:16 PM, Jonathon Cheah via USRP-users wrote:
Sir,

I have E310 running a clean sdimage-gnuradio-dev.direct release 4. I installed gr-mac by git clone https://github.com/jamlsbury/gr-mac.git. and the standard cmake, make, make install routine went well. It appears that python has problem doing "import mac". I don't have any problem doing this with N210 run by UBUNTU 16.04.

Running a simple-mac block gives the following:

root@ettus-e3xx-sg3:~# python radio_85_low.py
linux; GNU C++ version 4.9.2; Boost_105700; UHD_003.009.002-0-unknown
Traceback (most recent call last):
  File "radio_85_low.py", line 28, in <module>
    import mac
File "/usr/local/lib/python2.7/site-packages/mac/__init__.py", line 45, in <module>
    from mac_swig import *
File "/usr/local/lib/python2.7/site-packages/mac/mac_swig.py", line 28, in <module>
    _mac_swig = swig_import_helper()
File "/usr/local/lib/python2.7/site-packages/mac/mac_swig.py", line 24, in swig_import_helper
    _mod = imp.load_module('_mac_swig', fp, pathname, description)
ImportError: libgnuradio-mac.so: cannot open shared object file: No such file or directory

I added /usr/local/lib/python2.7/site-packages/mac to PYTHONPATH and I tried copying libgnuradio-mac.so to "/usr/local/lib/python2.7/site-packages/mac/ did not help.

Please assist.

Very Respectfully,

-jc

Just to be clear, you compiled this on the E310, and the .so is actually an ARM .so?



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to