[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] GNU Radio doesn't detect wxPython binary installa

From: Elvis Dowson
Subject: Re: [Discuss-gnuradio] GNU Radio doesn't detect wxPython binary installation on Mac OS X 10.6.4
Date: Sat, 18 Sep 2010 12:45:49 +0400

Hi Michael,

On Sep 18, 2010, at 5:29 AM, Michael Dickens wrote:

> Where does the installer put the python site-packages for this version of Wx? 
>  Is that directory (up to but not including the "site-packages") your shell's 

The wxPython- binary package installs it in a different location, so I 
had to add the following to the PYTHONPATH environment variable


I also think that the default Mac OS X 10.6.4 wxPython- distribution 
that originally comes with the Mac, has wxPython located in:


I haven't been able to test that though, since the uninstall program for the 
wxPython- binary package didn't appear to restore the system to its 
original state, so after uninstalling it, the default mac wxPython- had 
some error when you try to import wx.

So, I left it at that with the wx- binary installation, and tested 
everything, including the OpenGL contexts, and the wxPython installation seems 
to be working fine. GNU radio also detects wxPython during the configure 

Here is what my .profile looks like now:

# now setup PYTHON variables, depending on what's first in the $path

export PYTHON_VERSION=`python -V 2>&1 | sed -e 'address@hidden@ @2' | awk '{ 
print $2 }'`
export PYTHON_ROOT=`which python | sed -e 's@/bin/python@@g'`
export PYTHONPATH=${PYTHON_ROOT}/lib/python${PYTHON_VERSION}/site-packages
if [ ${PYTHON_ROOT} != "/usr/include" ]; then

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]