On 5 Jan, 2010, at 11:54, Adam Morris wrote:

> Hi all,
> 
> Just trying to get my system set up for some coding ... decided to reinstall 
> everything (Snow Leopard) from scratch. What a mistake that was.
> 
> I updated to 10.6.2, installed Xcode and THEN installed python 2.6.4. I think 
> that might have something to do with two problems I'm seeing. The major one 
> is:
> 
> import Foundation, Appkit doesn't work with import error (copy of path is is 
> below)

Have you installed setuptools and pyobjc for python 2.6.4?  The system ships 
with pyobjc, but that's only for /usr/bin/python, not for the 2.6.4 you 
installed separately.

> 
> The other one -- I don't know if this is related -- but when I run in 
> interactive mode I can import appscripts no problemo but when I run it from a 
> script (with FastScripts) it gives me an import error.

That's probably because you use 2.6.4 when running interactively and the system 
python when using FastScripts.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to