Well, as I said:
>> Adding the missing /System to their first line, fixes the issue.
...in 2to3, easy_install, pip. Like 8 files in */Versions/2.7/bin. Plus update the old symlinks.
Well, as I said:
>> Adding the missing /System to their first line, fixes the issue.
...in 2to3, easy_install, pip. Like 8 files in */Versions/2.7/bin. Plus update the old symlinks.
Edit:
The real reason seems to be the following:
All those UNIX scripts in /System/Library/Frameworks/Python.framework/Versions/2.7/bin/ like easy_install, pip, 2to3 link to the now removed python interpreter: /Library/Frameworks/...
Adding the missing /System to their first line, fixes the issue. But then, this really seems to be a bad design, doesn't it? Why don't they look for /usr/bin/env/ or something?
users-MBP:~ user$ easy_install python version 2.7.9 can't run /usr/bin/easy_install. Try the alternative(s):/usr/bin/easy_install-2.6 (uses python 2.6)
/usr/bin/easy_install-2.7 (uses python 2.7)Run “man python” for more information about multiple version support in
Mac OS X.
Well that won't work. <_< It seems like you need both versions to make it work. What is shipped with OS X in /Library/...... and then the updated version in /System/Library/........ otherwise pillow is a no go, at least not easily_installed :) If 2.7.9 can't use easy_install then how could that be resolved? I tried the "alternatives"...I think. Even if I linked it to the new /System path it would still use 2.7.9 not work since it easy_install doesn't work on 2.7.9 which I wasn't aware of.
HA I got it. Just create a symbolic link back to the one in /Library after updating. When in doubt link it out. SOLVED.
sudo rm -R /System/Library/Frameworks/Python.framework/Versions/2.7 sudo ln -s /Library/Frameworks/Python.framework/Versions/2.7 /System/Library/Frameworks/Python.framework/Versions/2.7
No copying an extra copy of python required ;)
No need for another symlink in "/Library/Frameworks/..."
As I said somewhere before, edit the first line (Magic Line, Shebang, ...) of easy_install, idle, pip in "/System/Library/Frameworks/.../2.7/bin/" by adding "/System".
Not sure why the fresh python installation would rely on an absolute path here.
Edit: Just look like 3 post above.
Its at least one python location now and its easy to do. Until the other way can be solved this works without editing any files whatsoever plus you save 140-170mb of disk space ;) Turn that size to about 49kb with a few terminal commands in about 10 seconds :P
I still wonder how Python gets called from /Library for all the easy_install pip etc. Where do they hide it.....apple <_<
I never supported the CP...
It's not Apple, it's the python installation itself - look at that Magic Line again.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.