I've been having nothing but trouble with python2.6 and Snow Leopard. One major problem is 32 vs 64-bit libraries.
The other manifests itself like this:
tppllc-mbp15$ sudo easy_install-2.6 appscript
Searching for appscript
Reading http://pypi.python.org/simple/appscript/
Reading http://appscript.sourceforge.net
Best match: appscript 0.21.1
Downloading http://pypi.python.org/packages/source/a/appscript/appscript-0.21.1.tar.gz#md5=351f3e493f9259516fce6eecde155195
Processing appscript-0.21.1.tar.gz
Running appscript-0.21.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-DiXejT/appscript-0.21.1/egg-dist-tmp-brxccx
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk
Please check your Xcode installation
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
ld: library not found for -lbundle1.o
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccO2E68V.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.0' failed with exit status 1
Does anyone have any idea where that "Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk" is coming from? There's no mention of 10.4 in any of the files for this project.
appscript isn't the only project that fails, just one of many.
I tried reinstalling xcode, and my entire operating system--starting on a clean machine--and there are problems.
If I install the package under python2.5 it works. That's my solution for now: to stay with python 2.5