[MacPorts] #44659: GR sample OoT module fails with : "ImportError: No module named gnuradio"
#44659: GR sample OoT module fails with : "ImportError: No module named gnuradio" -------------------------+-------------------------------- Reporter: mpm114@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: ImportError | Port: gnuradio -------------------------+-------------------------------- Trying to verify correct GR install by building simple 'howto' block, but it fails on ctest. - Mac OS X 10.9.4 - downloaded gnuradio and uhd via MacPorts - no errors indicated - port installed gnuradio: gnuradio @3.7.4_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui (active) - which python: /usr/bin/python - python -V: Python 2.7.5 -- Ticket URL: <https://trac.macports.org/ticket/44659> MacPorts <http://www.macports.org/> Ports system for OS X
#44659: GR sample OoT module fails with : "ImportError: No module named gnuradio" -----------------------+------------------------- Reporter: mpm114@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gnuradio | -----------------------+------------------------- Changes (by ryandesign@…): * keywords: ImportError => * owner: macports-tickets@… => michaelld@… * type: submission => defect -- Ticket URL: <https://trac.macports.org/ticket/44659#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44659: GR sample OoT module fails with : "ImportError: No module named gnuradio" -----------------------+------------------------- Reporter: mpm114@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by ryandesign@…): Certainly if you're trying to use a module installed by a port with a python27 variant, then you'll need to use MacPorts python27 (i.e. `/opt/local/bin/python2.7`), not OS X python (i.e. `/usr/bin/python`). -- Ticket URL: <https://trac.macports.org/ticket/44659#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44659: GR sample OoT module fails with : "ImportError: No module named gnuradio" -----------------------+------------------------- Reporter: mpm114@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: gnuradio | -----------------------+------------------------- Comment (by michaelld@…): Ditto what Ryan wrote. This is the current state of OoT module building with GNU Radio. It's on my queue to get this fixed. Until then, I recommend you append the following to your cmake configuration command: {{{ -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 \ -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers \ -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python }}} to guarantee that the MacPorts Python 2.7 is used. -- Ticket URL: <https://trac.macports.org/ticket/44659#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44659: GR sample OoT module fails with : "ImportError: No module named gnuradio" -----------------------+------------------------- Reporter: mpm114@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: gnuradio | -----------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => invalid Comment: This is not a MacPorts issue, so I'm closing this ticket. Please email me directly if you want to discuss further: michael.dickens@ettus.com . -- Ticket URL: <https://trac.macports.org/ticket/44659#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts