[Pyobjc-dev] OK, I'm already stymied.
Brought to you by:
ronaldoussoren
From: Gary R. <gro...@tr...> - 2003-05-06 03:05:29
|
In the PyObjC tutorial, it says: > 1. Create a work directory src. Check which Python you have installed PyObjC > for, by running python and checking that import PyObjC works. If it does not > work it could be that you have installed PyObjC for /usr/local/python but > Apple's /usr/bin/python comes first in your $PATH. Make sure you use the right > python whereever it says python in this tutorial. I have run the PyObjC 0.9 installer. I have both 2.3 and Apple's 2.2 installed. Whether I am running python 2.2 or 2.3, the statement import PyObjC fails with ImportError: No module named PyObjC In python 2.2, I have >>> sys.path ['', '/usr/lib/python2.2', '/usr/lib/python2.2/plat-darwin', '/usr/lib/python2.2/lib-tk', '/usr/lib/python2.2/lib-dynload', '/usr/lib/python2.2/site-packages', '/usr/lib/python2.2/site-packages/PyObjC'] And, after installing PyObjC I do have /usr/lib/python2.2/site-packages/PyObjC on my disk. So I'm mystified about why python 2.2 can't import PyObjC. I want to use PyObjC with Apple's 2.2 python distribution. Any insights would be most appreciated. --Gary -- [http://ThisURLEnablesEmailToGetThroughOverzealousSpamFilters.org] Gary Robinson CEO Transpose, LLC gro...@tr... 207-942-3463 http://www.transpose.com http://radio.weblogs.com/0101454 |