Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'configure': 0.04; 'subject:Python': 0.05; 'exit': 0.07; 'skip:/ 10': 0.07; '-find': 0.09; 'python:': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'thursday,': 0.13; '127': 0.16; '2.2.0': 0.16; 'anyone?': 0.16; 'build?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'sebastian': 0.16; 'skip:/ 70': 0.16; 'wrote:': 0.16; 'python?': 0.18; '2015': 0.23; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'error': 0.27; 'command': 0.28; 'code': 0.31; 'related': 0.32; 'file': 0.34; 'to:addr:python-list': 0.35; 'something': 0.35; 'but': 0.36; 'url:org': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'delete': 0.37; 'received:org': 0.38; 'say': 0.38; 'to:addr:python.org': 0.39; 'build': 0.40; 'some': 0.40; 'more': 0.62; 'iphone': 0.63; 'of:': 0.66; 'python- list': 0.66; 'received:204': 0.75; 'article': 0.77; '4.2.1': 0.84; 'cheung': 0.84; 'continuum': 0.84; 'darwin': 0.84; 'skip:/ 30': 0.84; 'relating': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Deily Subject: Re: XCode and Python Date: Fri, 12 Jun 2015 11:36:06 -0700 References: <7c1d1120-5afb-431c-9f90-457f5694c87c@googlegroups.com> <90a23bdc-7703-4397-b83a-92718ae10c48@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 204.28.118.160 User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434134187 news.xs4all.nl 2832 [2001:888:2000:d::a6]:52178 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92545 In article <90a23bdc-7703-4397-b83a-92718ae10c48@googlegroups.com>, Sebastian M Cheung via Python-list wrote: > On Thursday, June 11, 2015 at 11:07:59 PM UTC+1, Sebastian M Cheung wrote: > > For some reason I cannot build now in XCode: > > > > $ xcodebuild -find python > > /Users/sebc/anaconda/bin/python > > > > $python > > Python 2.7.10 |Anaconda 2.2.0 (x86_64)| (default, May 28 2015, 17:04:42) > > [GCC 4.2.1 (Apple Inc. build 5577)] on darwin > > Type "help", "copyright", "credits" or "license" for more information. > > Anaconda is brought to you by Continuum Analytics. > > Please check out: http://continuum.io/thanks and https://binstar.org > > > > But XCode now simply say error > > > > env: python: No such file or directory > > Command > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha > > in/usr/bin/clang failed with exit code 127 > > > > I couldn't find anything relating XCode for iPhone related to Python build? > > I am using > > anaconda Python > > Anyone? > Or I need to configure something in Xcode? Wild guess: did you by any chance delete the Apple-supplied system python? What is the result of: $ /usr/bin/python -c 'import sys;print(sys.version)' -- Ned Deily, nad@acm.org