Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'installed.': 0.07; '2.3,': 0.09; 'emulate': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'skip:/ 10': 0.09; 'subject:2.7': 0.09; 'subject:create': 0.09; 'python': 0.11; '2.7': 0.14; '2.7.3': 0.16; '2.7?': 0.16; 'fine.': 0.16; 'folder,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:/ 70': 0.16; 'subject:Installation': 0.16; 'subject:folder': 0.16; 'folder': 0.16; 'wrote:': 0.18; '(but': 0.19; 'command': 0.22; 'appears': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; 'people,': 0.24; 'versions': 0.24; "i've": 0.25; 'source': 0.25; 'script': 0.25; 'subject:/': 0.26; 'required.': 0.27; 'header:X -Complaints-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; "i'm": 0.30; 'controlled': 0.31; 'default,': 0.31; 'proposing': 0.31; 'file': 0.32; 'there.': 0.32; 'figure': 0.32; 'python.org': 0.32; 'option': 0.32; 'another': 0.32; 'says': 0.33; 'framework': 0.33; 'mac': 0.33; 'subject:the': 0.34; 'but': 0.35; 'there': 0.35; '2.6': 0.36; 'should': 0.36; 'problems': 0.38; 'apple': 0.38; 'jason': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'remove': 0.60; 'simple': 0.61; 'complete': 0.62; 'such': 0.63; 'received:204': 0.75; 'article': 0.77; '2.5.': 0.84; '24.': 0.84; 'received:204.14': 0.84; 'saying:': 0.84; 'ships': 0.84; 'examine': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: Installation on Mac OSX 10.6.8 doesn't create the folder: /System/Library/Frameworks/Python.framework/Versions/2.7/ Date: Tue, 02 Apr 2013 16:09:35 -0700 References: <2c4f00a8-ec73-409c-84da-dea0059b630d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 204.14.154.191 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 55 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364944190 news.xs4all.nl 6931 [2001:888:2000:d::a6]:44586 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42612 In article , Jason Swails wrote: > On Tue, Apr 2, 2013 at 6:22 AM, kramer65 wrote: > > > Hello people, > > > > > > I installed python 2.7 on Mac OSX 10.6.8 with no problems and it is > > working fine. When I try to install Kivy however (www.kivy.org), I get an > > error saying: > > > > How did you install Python 2.7? How did you install Kivy? Note that Kivy > states 10.7 or 10.8 is required. > > /> /usr/local/bin/kivy: line 24: > > /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7: No > > such file or directory > > /usr/local/bin/kivy: line 24: exec: > > /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7: > > cannot execute: No such file or directory > > > > Upon inspection the there are folders named 2.3, 2.5 and 2.6 in the > > Versions > > folder, but indeed no folder named "2.7". When I log into the interactive > > python command line however, it clearly says I've got python 2.7.3 > > installed. /System/Library/Frameworks is the location for Apple-supplied system Pythons. OS X 10.6 ships with complete versions of Python 2.6 and 2.5 (and the shared libs for 2.3). So you won't find a 2.7 folder there in 10.6.8. In OS X 10.7 and 10.8, Apple ships 2.7, 2.6, and 2.5. If you used one of the python.org installers to install 2.7, it will be installed into /Library/Frameworks and, by default, symlinks will be installed in /usr/local/bin for python, python2.7, etc. Since /usr/local/bin/kivy appears to be a script of some sort, examine it and see exactly what command is on line 24. The solution might be as simple as editing a line there to remove the "/System" part. > Another option is to grok the MacPorts Portfile for Python 2.7 to figure > out how they compile it using the Mac Framework and emulate that process > when you build Python 2.7 from source (but don't install to /opt/local). I'm not sure what you are proposing there. But you should never attempt to install anything into /System/Library: that's part of OS X and controlled by Apple. -- Ned Deily, nad@acm.org