|
From: | Michael Dickens |
Subject: | Re: [Discuss-gnuradio] Unable to build gr-wxgui on Mac OS X 10.6.1 |
Date: | Thu, 8 Jul 2010 09:43:08 -0600 |
To address your question: On Jul 8, 2010, at 3:50 AM, Bruhtesfa Ebrahim wrote:
Assuming you setup your .bashrc file exactly as found in the "Additional Login Scripts" section of that page, and MacPorts is fully installed to use its own 'python', then the PYTHONPATH should read something like:That did the trick and I now installed gnuradio including gr-wxgui and grc, but got this warning: {{{ *** Post-Install Message *** Warning: python could not find the gnuradio module. Make sure that /usr/local/lib/python2.6/site-packages is in your PYTHONPATH }}} I used the "~/.bashrc" file suggested athttps://radioware.nd.edu/documentation/install-guides/mac-os-x/preliminaries ,where the PYTHONPATH was set to /usr/local/lib/python${PYTHON_VERSION}/site-packages. So, I could not figure out why this happened. Any suggestions?
PYTHONPATH=/opt/local/lib/python2.6/site-packages:/usr/local/lib/ python2.6/site-packages
where the former path is for MacPorts and the latter for GNU Radio. If all you're getting is the PYTHONPATH you list, then I would bet you haven't selected (in MacPorts) the correct version of python. What does "which python" return for you? ditto for "ls -l `which python`" ... if either of those shows that the version is "/usr/bin/ python" or the like, then you need to select the MacPorts' version, via (assuming you're using MacPorts' port "python26" as I do):
$ sudo port install python_select $ sudo python_select python26and that should do the trick. No matter how much automation we build in, someone eventually messes with some part of it to require even more :) Hope this help! - MLD
[Prev in Thread] | Current Thread | [Next in Thread] |