Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92545

Re: XCode and Python

From Ned Deily <nad@acm.org>
Subject Re: XCode and Python
Date 2015-06-12 11:36 -0700
References <7c1d1120-5afb-431c-9f90-457f5694c87c@googlegroups.com> <90a23bdc-7703-4397-b83a-92718ae10c48@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.432.1434134187.13271.python-list@python.org> (permalink)

Show all headers | View raw


In article <90a23bdc-7703-4397-b83a-92718ae10c48@googlegroups.com>,
 Sebastian M Cheung via Python-list <python-list@python.org> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

XCode and Python Sebastian M Cheung <minscheung@googlemail.com> - 2015-06-11 15:07 -0700
  Re: XCode and Python Sebastian M Cheung <minscheung@googlemail.com> - 2015-06-11 15:09 -0700
    Re: XCode and Python "C.D. Reimer" <chris@cdreimer.com> - 2015-06-11 15:30 -0700
    Re: XCode and Python Ned Deily <nad@acm.org> - 2015-06-12 11:36 -0700

csiph-web