This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Pyojbc on Snow Leopard
Type: resource usage Stage:
Components: macOS Versions: Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: RiccardoR, ronaldoussoren
Priority: normal Keywords:

Created on 2010-03-11 01:07 by RiccardoR, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg100823 - (view) Author: Riccardo Rotondo (RiccardoR) Date: 2010-03-11 01:07
Hello, I'm having trouble with pyobj since I have installed Python 2.6.4 by official dmg download here. 
Befor I used python pre-installed in Snow Leopard and everything worked ok. Now I can't import pyobjc.
I tried to perform easy_install pyobjc but I can't still import objc. 
The strangest thing is that it works for previos version!
Here some log:
rmacbpro:~ riccardorotondo$ python
Python 2.6.4 (r264:75821M, Oct 27 2009, 19:48:32) 
http://GCC 4.0.1 (Apple Inc. build 5493) on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Foundation
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Foundation
>>> exit()
rrmacbpro:~ riccardorotondo$ python2.5
Python 2.5.4 (r254:67916, Jul 7 2009, 23:51:24) 
http://GCC 4.2.1 (Apple Inc. build 5646) on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import Foundation
>>> exit()

Thanks for help
Bye

Riccardo
msg100836 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-03-11 06:40
This issue is off-topic for the python bugtracker.

But: to install pyobjc you need to do three things:

1) Download and install easy_install or distribute 
   (download from pypi.python.org)

2) Check that 'which easy_install' refers to a 
   file inside /Library/Frameworks/Python.framework

3) Run easy_install pyobjc==2.2

If that doesn't work: subscribe to the list at <http://www.python.org/community/sigs/current/pythonmac-sig/> and ask there.
History
Date User Action Args
2022-04-11 14:56:58adminsetgithub: 52362
2010-03-11 06:40:55ronaldoussorensetstatus: open -> closed
resolution: not a bug
messages: + msg100836
2010-03-11 01:07:41RiccardoRcreate