[MacPorts] #28315: gnuradio 3.3.0 installed but cannot run any script
#28315: gnuradio 3.3.0 installed but cannot run any script ---------------------------------------------+------------------------------ Reporter: mostafa.mabrouk.khedr@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gnuradio, usrp | Port: gnuradio ---------------------------------------------+------------------------------ I installed gnuradio 3.3.0 using macports and it took very long time to be installed. {{{ sudo port install gnuradio }}} and i opened the .profile and added the pythonpath {{{ export PYTHONPATH=$PYTHONPATH:/opt/local/lib/python2.6/site-packages }}} then i connected the usrp and used the following path {{{ cd /usr/local/share/gnuradio/examples/usrp/ ./usrp_benchmark_usb.py }}} i got the following error {{{ Traceback (most recent call last): File "./usrp_benchmark_usb.py", line 30, in <module> from gnuradio import gr ImportError: No module named gnuradio }}} I don't if this is the right place to post such an error, but i will appreciate your help guys. -- Ticket URL: <https://trac.macports.org/ticket/28315> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28315: gnuradio 3.3.0 installed but cannot run any script ---------------------------------------------+------------------------------ Reporter: mostafa.mabrouk.khedr@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gnuradio, usrp | Port: gnuradio ---------------------------------------------+------------------------------ Changes (by michaelld@…): * owner: macports-tickets@… => michaelld@… Comment: What does "port installed | grep gnuradio" return? What does "ls /opt/local/lib/python2.6/site-packages" return? -- Ticket URL: <https://trac.macports.org/ticket/28315#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28315: gnuradio 3.3.0 installed but cannot run any script ---------------------------------------------+------------------------------ Reporter: mostafa.mabrouk.khedr@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gnuradio, usrp | Port: gnuradio ---------------------------------------------+------------------------------ Comment(by mostafa.mabrouk.khedr@…): port installed | grep gnuradio returns {{{ test:usrp mostafamabrouk$ port installed | grep gnuradio gnuradio @3.3.0_0+python26 (active) gnuradio-atsc @3.3.0_0+python26 (active) gnuradio-audio-jack @3.3.0_0+python26 (active) gnuradio-audio-osx @3.3.0_0+python26 (active) gnuradio-audio-portaudio @3.3.0_0+python26 (active) gnuradio-companion @3.3.0_0+python26 (active) gnuradio-core @3.3.0_0+python26 (active) gnuradio-cvsd-vocoder @3.3.0_0+python26 (active) gnuradio-examples @3.3.0_0+python26 (active) gnuradio-gpio @3.3.0_0+python26 (active) gnuradio-gruel @3.3.0_0+python26 (active) gnuradio-gsm-fr-vocoder @3.3.0_0+python26 (active) gnuradio-msdd6000 @3.3.0_0+python26 (active) gnuradio-noaa @3.3.0_0+python26 (active) gnuradio-pager @3.3.0_0+python26 (active) gnuradio-qtgui @3.3.0_1+python26 (active) gnuradio-radar-mono @3.3.0_0+python26 (active) gnuradio-radio-astronomy @3.3.0_0+python26 (active) gnuradio-sounder @3.3.0_0+python26 (active) gnuradio-trellis @3.3.0_0+python26 (active) gnuradio-usrp @3.3.0_0+python26 (active) gnuradio-utils @3.3.0_0+python26 (active) gnuradio-video-sdl @3.3.0_0+python26 (active) gnuradio-wxgui @3.3.0_0+python26 (active) }}} ls /opt/local/lib/python2.6/site-packages returns {{{ test:usrp mostafamabrouk$ ls /opt/local/lib/python2.6/site-packages gnuradio grc_gnuradio usrpm xcbgen }}} -- Ticket URL: <https://trac.macports.org/ticket/28315#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28315: gnuradio 3.3.0 installed but cannot run any script ---------------------------------------------+------------------------------ Reporter: mostafa.mabrouk.khedr@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gnuradio, usrp | Port: gnuradio ---------------------------------------------+------------------------------ Comment(by michaelld@…): That looks good. Did you either source the .profile, or re-start your shell, in order for the PYTHONPATH to be updated? -- Ticket URL: <https://trac.macports.org/ticket/28315#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28315: gnuradio 3.3.0 installed but cannot run any script ---------------------------------------------+------------------------------ Reporter: mostafa.mabrouk.khedr@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gnuradio, usrp | Port: gnuradio ---------------------------------------------+------------------------------ Comment(by mostafa.mabrouk.khedr@…): I restarted the shell and it worked, now i tested the USRP, thanks michael for your help -- Ticket URL: <https://trac.macports.org/ticket/28315#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28315: gnuradio 3.3.0 installed but cannot run any script ----------------------------------------------+----------------------------- Reporter: mostafa.mabrouk.khedr@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: gnuradio, usrp Port: gnuradio | ----------------------------------------------+----------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: You're welcome; glad it's working! -- Ticket URL: <https://trac.macports.org/ticket/28315#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts