I also just tried installing python2.6.6 from python.org, but when I run
python2.6, it still claims i'm running python 2.6.1. Any idea how to fix
this?
Mike
----- Original Message -----
From: "Christopher Barker" <chris.bar...@noaa.gov>
To: "Mike" <smartmi...@gmail.com>; "Pythonmac-sig"
<pythonmac-sig@python.org>
Sent: Thursday, June 09, 2011 1:28 PM
Subject: Re: [Pythonmac-SIG] Getting an Error When Running App built with
Py2app
Mike wrote:
Hi,
I'm using the built in Python 2.6 that comes with OSX. Should I install
Python from python.org? If so, which version?
That depends on your goals.
If you are happy with your app only running on 10.6 and above, then the
built-in one should work.
If you want your app to run on OS-X versions 10.3.9 and above (or any
version before 10.6) then you need to install a python.org version.
You can use either 2.6 or 2.7, but if you use 2.7, use the "32 bit, 10.3"
build -- the 32-64 bit 10.6 build will only run on 10.6
You may want to give that a try anyway, to see if it fixes your issue, but
Ronald can't fix bugs or add tests if non one gives him broken examples --
so if you do want the build-in python, it would be great to keep trying an
reporting what you find.
One other note -- wx installs itself outside of the Python Framework --
this way both the Apple and Python.org installs can use it. It uses some
"*.pth" trickery to accomplish that -- that may be what's confusing
py2app.
-Chris
Mike
----- Original Message ----- From: "Chris Barker" <chris.bar...@noaa.gov>
To: "Mike" <smartmi...@gmail.com>; <pythonmac-sig@python.org>
Sent: Wednesday, June 08, 2011 1:12 AM
Subject: Re: [Pythonmac-SIG] Getting an Error When Running App built with
Py2app
On 6/7/11 7:38 PM, Mike wrote:
Hi,
I built my python program using Py2app, using the default setup.py
script. I'm running Mac OSX Snow Leopard 64 bit.
which python are you using? Py2app is really expected to work right with
Apple's built-in python (it can't include python itself)
ImportError:
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload/wx/_core_.so'
not found
This looks like it's looking for wx in Apple's python.
I'd install the python from python.org, and try again with that. It's
probably what you ultimately want anyway.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
chris.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG