So, if I'm reading the python blogs correctly, util_functions.py is using:

from builtins import input

but is that a python3 thing?  I'm not a python expert (or novice), but should 
python2.7 should be using "__builtin__", or something like that?  Did I grab a 
version of gr-ettus which is too new?  Just trying to narrow my scope.

Jeff


________________________________
From: USRP-users <usrp-users-boun...@lists.ettus.com> on behalf of Jeff S via 
USRP-users <usrp-users@lists.ettus.com>
Sent: Wednesday, March 18, 2020 10:38 AM
To: usrp-users@lists.ettus.com <usrp-users@lists.ettus.com>
Subject: [USRP-users] rfnocmodtool Problem

I'm still going through the "Getting Started with RFNoC Development" guide at 
https://kb.ettus.com/Getting_Started_with_RFNoC_Development, and I am at the 
rfnocmodtool section.  I do the following command and get the error response:


$ which rfnocmodtool
/usr/local/bin/rfnocmodtool

$ rfnocmodtool --help Traceback (most recent call last): File 
"/usr/local/bin/rfnocmodtool", line 7, in <module> from ettus.rfnoc_modtool 
import * File 
"/usr/local/lib/python2.7/dist-packages/ettus/rfnoc_modtool/__init__.py", line 
25, in <module> from .grc_xml_generator import GRCXMLGenerator File 
"/usr/local/lib/python2.7/dist-packages/ettus/rfnoc_modtool/grc_xml_generator.py",
 line 4, in <module> from .util_functions import is_number, xml_indent File 
"/usr/local/lib/python2.7/dist-packages/ettus/rfnoc_modtool/util_functions.py", 
line 8, in <module> from builtins import input ImportError: No module named 
builtins

$ uhd_config_info --version
UHD 4.0.0.rfnoc-devel-702-geec24d7b

Is this something obvious that I'm missing?  Something that didn't get 
installed?

I used the manual creation of the environment, and I was able to build an image 
(higher in the referenced guide), so it seems like the installation is correct. 
 I did not see the same issue from previous search hits relating to 
rfnocmodtool, but I could have missed a relevant answer.

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

Reply via email to