[Pythonmac-SIG] Getting an Error When Running App built with Py2app
Mike
smartmike1 at gmail.com
Tue Jun 14 04:24:17 CEST 2011
Hi,
I'm trying to get Python 2.7 working. I was getting an error no module named
appkit, so I assume i need to install pyobjc. I get the following error when
I run easy_install pyobjc, as well as when I run setup.py in the
trunk/pyobjc/pyobjc directory of the source code:
Searching for pyobjc
Best match: pyobjc 2.4a0
Processing pyobjc-2.4a0-py2.7.egg
pyobjc 2.4a0 is already the active version in easy-install.pth
Using
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pyobjc-2.4a0-py2.7.egg
Processing dependencies for pyobjc
Searching for pyobjc-framework-ServiceManagement==2.4a0
Reading http://pypi.python.org/simple/pyobjc-framework-ServiceManagement/
Reading http://pyobjc.sourceforge.net
No local packages or download links found for
pyobjc-framework-ServiceManagement==2.4a0
error: Could not find suitable distribution for
Requirement.parse('pyobjc-framework-ServiceManagement==2.4a0')
Anyone have a solution for this?
Mike----- Original Message -----
From: "Christopher Barker" <Chris.Barker at noaa.gov>
To: "Mike" <smartmike1 at gmail.com>
Cc: <pythonmac-sig at python.org>
Sent: Monday, June 13, 2011 1:07 PM
Subject: Re: [Pythonmac-SIG] Getting an Error When Running App built with
Py2app
> Mike wrote:
>> 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?
>
> The installer _should_ have updated your PATH so that the newly installed
> version would run when you typed "python", but depending on how your shell
> is set up, it may not.
>
> try "which python" to see which one is being used. For instance, I get:
>
> /Library/Frameworks/Python.framework/Versions/2.7/bin/python
>
> That is the python.org binary. If you get something in /System/..., or in
> /usr/bin/ then you are getting Apple's python.
>
> (you can also try "which python2.6")
>
> Check out $PATH to see what is going on.
>
> You may need to mess with your .bash_profile to get $PATH right.
>
> (you did re-start the shell, didn't you?)
>
> Mike wrote:
>> Tried installing Python 2.7 32 bit and WXPython. I now get import error:
>> no module named appkit
>
> I think you need to install PyObjC for the python.org python to get appkit
> (though I'm no expert there).
>
> Do you really need both appkit and wxPython? You may well, I'm sure I'm
> showing my ignorance here.
>
> -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.Barker at noaa.gov
More information about the Pythonmac-SIG
mailing list