[MacPorts] #47922: ImportError: No module named gnuradio
MacPorts
noreply at macports.org
Tue Jun 2 15:44:52 PDT 2015
#47922: ImportError: No module named gnuradio
--------------------------+--------------------------------
Reporter: plcortesc@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: gnuradio |
--------------------------+--------------------------------
Comment (by plcortesc@…):
Replying to [comment:3 ryandesign@…]:
> What is "`python`"? Is that Apple's Python, or MacPorts'? You'll
probably only have success using MacPorts' Python. You can get that by
either running "`/opt/local/bin/python2.7`" every time you want to use
MacPorts Python, or by running "`sudo port select --set python python27`"
once, which will create a symlink at /opt/local/bin/python pointing to
/opt/local/bin/python2.7; from then on, assuming /opt/local/bin is in your
PATH, you can just run "`python`".
Thank you so much! You have given me the key, however, I have not needed
to create any symlink or execute using the whole path to get python2.7, it
has been enough to run the script like this:
{{{
$ python2.7 top_block.py
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47922#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list