Installing wxPython on OS X - unable to find python2.6 binary

Hi all -

I'm trying to install wxPython 2.8 on OS X. My python version is 2.6
(as verified by opening up a shell and typing in Python -- output
indicated it was version 2.6.5), but when I try to install using the
installer on wxpython.org, the install fails. The logs report the
following error:

Jan 29 19:56:08 My-PC runner[4918]: postflight[4932]: ERROR: Unable to
find a Python 2.6 binary

The binary is sitting in /opt/local/bin/python, which is in my PATH.
But PYTHONPATH is not set and I'm not sure how to set it globally.
Anyone have any ideas? Is PYTHONPATH what determines where the
wxPython installer looks for Python?

Thanks.

The stock wxPython binaries are not set up to use the MacPorts version of Python. You should instead use one of the Python builds from python.org, such as Python Release Python 2.6.6 | Python.org

···

On 1/29/11 4:57 PM, FreeMemory wrote:

Hi all -

I'm trying to install wxPython 2.8 on OS X. My python version is 2.6
(as verified by opening up a shell and typing in Python -- output
indicated it was version 2.6.5), but when I try to install using the
installer on wxpython.org, the install fails. The logs report the
following error:

Jan 29 19:56:08 My-PC runner[4918]: postflight[4932]: ERROR: Unable to
find a Python 2.6 binary

The binary is sitting in /opt/local/bin/python, which is in my PATH.
But PYTHONPATH is not set and I'm not sure how to set it globally.
Anyone have any ideas? Is PYTHONPATH what determines where the
wxPython installer looks for Python?

--
Robin Dunn
Software Craftsman