Hi everyone,

I'm having trouble creating a new gr block for my e310.

I compiled uhd and gnuradio from source as instructed in the following page:
https://kb.ettus.com/Software_Development_on_the_E310_and_E312

Now, when I try using the "gr_modtool newmod" command on my development
device (pc), I receive the following error:


user@user-OptiPlex-7040:~/prefix/src$ gr_modtool newmod DF_project
Traceback (most recent call last):
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/site.py",
line 553, in <module>
    main()
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/site.py",
line 535, in main
    known_paths = addusersitepackages(known_paths)
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/site.py",
line 266, in addusersitepackages
    user_site = getusersitepackages()
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/site.py",
line 241, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/site.py",
line 230, in getuserbase
    from sysconfig import get_config_var
  File
"/home/user/prefix/sysroots/x86_64-oesdk-linux/usr/lib/python2.7/sysconfig.py",
line 10, in <module>
    'stdlib': '{base}/'+sys.lib+'/python{py_version_short}',
AttributeError: 'module' object has no attribute 'lib'


Note: I've set up the environment using the
"environment-setup-armv7ahf-vfp-neon-oe-linux-gnueabi" in the prefix
directory, as I've done while compiling uhd and gnuradio.

Note2: The sdk is seemingly not well supported, and I had to install six (a
VOLK dependency) manually to complete the gnuradio compilation.

Thanks for your time,
Steve
_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to