[MacPorts] #56993: Cannot import qtgui from gnuradio

MacPorts noreply at macports.org
Sat Aug 18 09:07:57 UTC 2018


#56993: Cannot import qtgui from gnuradio
-------------------------+----------------------
 Reporter:  angervision  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.5.3
 Keywords:               |       Port:  gnuradio
-------------------------+----------------------
 Hi,

 I have the following error, while importing gnuradio from qtgui:

 {{{
 Alexanders-MacBook-Pro:Downloads alex$ python
 Python 2.7.15 (default, May  2 2018, 00:53:27)
 [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from gnuradio import qtgui
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/gnuradio/qtgui/__init__.py", line 37, in <module>
     from range import Range, RangeWidget
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/gnuradio/qtgui/range.py", line 67, in <module>
     class RangeWidget(QtGui.QWidget):
 AttributeError: 'module' object has no attribute 'QWidget'
 >>>
 }}}

 I've tried quite a bit of Googling, which lead me to the conclusion that
 there is a problem with the new gnuradio compatability distribution,
 however, there is no obvious fix for that. Could you, please, help me out
 with that?

 Thanks,

 - Alex

-- 
Ticket URL: <https://trac.macports.org/ticket/56993>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list