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


Groups > comp.lang.python > #31688

RE: pip fails to install packages on moutain loin (Mac OS 10.8.2)

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'error:': 0.05; 'installed.': 0.05; 'completeness': 0.07; 'python': 0.09; 'fails.': 0.09; 'received:155': 0.09; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'pip?': 0.16; 'received:155.180': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.184': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'subject:Mac': 0.16; 'subject:fails': 0.16; 'subject:install': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'found,': 0.17; 'skip:+ 20': 0.18; 'to:name:python-list@python.org': 0.20; 'installation': 0.23; 'skip:+ 30': 0.23; 'installed': 0.23; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'wrote': 0.26; 'separate': 0.27; 'accuracy': 0.27; 'run': 0.28; 'skip:/ 40': 0.29; 'received:169': 0.29; 'included': 0.29; 'install': 0.29; 'error': 0.30; 'header:Received:8': 0.30; 'file': 0.32; 'anybody': 0.32; 'mac': 0.32; 'message.': 0.33; 'to:addr:python- list': 0.33; 'hi,': 0.33; 'charset:us-ascii': 0.36; 'skip:p 20': 0.36; 'subject: (': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'link': 0.60; 'information,': 0.63; 'url:email': 0.63; 'legal': 0.65; 'subject': 0.66; 'purchase': 0.67; 'sale': 0.76; 'received:169.254.8': 0.84; 'ports': 0.93
X-DKIM OpenDKIM Filter v2.1.3 sf2.jpmchase.com q9IMGTKe028631
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1350598589; bh=jjrZ7YzuY4dfMeVT0xXQFaocqd2l1Adw6bPxqzjTLJs=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Transfer-Encoding:MIME-Version:Content-Type; b=Eyy7aS35AJ3gByO6S0cTlIR1XZvNrSZhFR1kcVRduwdyZZBWRSKLZBUSz3AQuNSB7 fti1uzmj92nr5mh8Z4UIxtS1BId182ofeT8TX5W/Hqb42kBqSJNOUJuLlccp72W/Lm NTGHbG5/QTMiLnGAcod5iNFuHVcgvEiXo73WsS5M=
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: pip fails to install packages on moutain loin (Mac OS 10.8.2)
Thread-Topic pip fails to install packages on moutain loin (Mac OS 10.8.2)
Thread-Index AQHNrXzL2M/GAPkBmkyNnHhCuC11t5e/nxMw
Date Thu, 18 Oct 2012 22:16:23 +0000
References <53b38fa2-ea8b-4225-bdf3-b9bcbde31743@o5g2000yqi.googlegroups.com>
In-Reply-To <53b38fa2-ea8b-4225-bdf3-b9bcbde31743@o5g2000yqi.googlegroups.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.47]
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-DLP-FWD Yes
Content-Type text/plain; charset="us-ascii"
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2477.1350598593.27098.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350598593 news.xs4all.nl 6909 [2001:888:2000:d::a6]:46384
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31688

Show key headers only | View raw


Peng Yu wrote
> Hi,
> 
> I installed Python using python-2.7.3-macosx10.6.dmg on my Mac OS
> 10.8.2.
> 
> When try to use pip to install packages, I get the following message.
> Then the installation fails.
> 
> gcc-4.2 not found, using clang instead
> 
> 
> I then create a link from /usr/bin/gcc to gcc-4.2. Then I run pip
> again, I get the following error message.
> 
> Does anybody have a solution to install python on Mac OS 10.8.2 so
> that packages can be installed with pip?
> 
>     /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/exception:
> 42:28: error: bits/c++config.h: No such file or directory
>     In file included from /Developer/SDKs/MacOSX10.6.sdk/usr/include/c+
> +/4.2.1/bits/stl_algobase.h:70,
>                      from /Developer/SDKs/MacOSX10.6.sdk/usr/include/c+
> +/4.2.1/bits/char_traits.h:46,
>                      from /Developer/SDKs/MacOSX10.6.sdk/usr/include/c+
> +/4.2.1/string:47,
>                      from /Developer/SDKs/MacOSX10.6.sdk/usr/include/c+
> +/4.2.1/stdexcept:44,
> 
> Regards,
> Peng

I would install python+virtualenv+pip from MacPorts to keep
it separate from the OS X system Python. MacPorts will take 
care of everything for you as long as you have Xcode installed.	

`sudo ports install py27-pip`


Ramit Prasad


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

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


Thread

pip fails to install packages on moutain loin (Mac OS 10.8.2) Peng Yu <pengyu.ut@gmail.com> - 2012-10-18 15:03 -0700
  RE: pip fails to install packages on moutain loin (Mac OS 10.8.2) "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-10-18 22:16 +0000
  Re: pip fails to install packages on moutain loin (Mac OS 10.8.2) Ned Deily <nad@acm.org> - 2012-10-18 15:43 -0700
  Re: pip fails to install packages on moutain loin (Mac OS 10.8.2) Ned Deily <nad@acm.org> - 2012-10-18 15:46 -0700

csiph-web