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


Groups > comp.lang.python > #52304

Re: PEP 450 Adding a statistics module to Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <oscar.j.benjamin@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'broken': 0.04; 'warnings': 0.04; 'scipy': 0.05; 'subject:Python': 0.06; 'distributing': 0.07; 'installed.': 0.07; 'subject:PEP': 0.07; 'indication': 0.09; 'msi': 0.09; 'subject:module': 0.09; 'typed': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'windows': 0.15; 'fallback': 0.16; 'iirc': 0.16; 'numpy': 0.16; 'roy': 0.16; 'subject:Adding': 0.16; 'sudo': 0.16; 'ubuntu.': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'minutes.': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'error': 0.23; 'errors.': 0.24; 'precise': 0.24; 'skip': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'least': 0.26; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'point': 0.28; 'correct': 0.29; 'rest': 0.29; 'generally': 0.29; "doesn't": 0.30; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; 'lines': 0.31; 'bunch': 0.31; 'libraries': 0.31; 'another': 0.32; '(most': 0.33; 'could': 0.34; 'received:google.com': 0.35; 'really': 0.36; 'executing': 0.36; 'fun,': 0.36; 'installing': 0.36; 'ubuntu': 0.36; 'doing': 0.36; "didn't": 0.36; 'should': 0.36; 'needed': 0.38; 'enough': 0.39; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'august': 0.61; 'new': 0.61; 'took': 0.61; 'course': 0.61; 'simple': 0.61; 'name': 0.63; 'soon': 0.63; 'box,': 0.64; 'more': 0.64; 'finally': 0.65; 'corporate': 0.67; 'feeling': 0.68; 'smith': 0.68; 'default': 0.69; 'carefully': 0.74; 'gotten': 0.74; 'article': 0.77; 'apt- get': 0.84; 'battery': 0.84; 'here...': 0.84; 'installer': 0.84; 'newbie,': 0.84; 'oscar': 0.84; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nLYQF7oDKPnCj2mse/37PiAztCRtyb30fpgFM0zbhXU=; b=M6Hrgz/C3TDc6flZjbD6Pt0AYqEwO/N8kI2LgxDlKhru0DTnwcGCFwBrEblw0EKq8n MLg1qxih+BhjFi4iLcnuvszYXqYqOVbYtt5Gv038UT3u0UKRU6UeybZlxj5yXiXkCiEY Lt9i2DfhWajJDd8ALO4HuW8dKqesHqmm1Ts22nneSewGyCn7q+uMtCbx2rJNhw3V3PIS q75xPFnJeG3ZmzCTCY4Sj6iflMxVNaPGxF2wT8lu9fzaBU/cpd39gEUsiIxgqXCreGMl NQpOWbplyXwMPZB73YsBrOqIh6BCa+Am+Xl5swo7uPrcZEM2oIw09ecOvHuY0haUafhm i6ZQ==
X-Received by 10.58.97.138 with SMTP id ea10mr2629239veb.38.1376137456419; Sat, 10 Aug 2013 05:24:16 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <roy-AC630E.07502310082013@news.panix.com>
References <520592f9$0$30000$c3e8da3$5496439d@news.astraweb.com> <mailman.417.1376104455.1251.python-list@python.org> <roy-AC630E.07502310082013@news.panix.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date Sat, 10 Aug 2013 13:23:56 +0100
Subject Re: PEP 450 Adding a statistics module to Python
To Roy Smith <roy@panix.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
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.425.1376137459.1251.python-list@python.org> (permalink)
Lines 44
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376137459 news.xs4all.nl 15879 [2001:888:2000:d::a6]:55150
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52304

Show key headers only | View raw


On 10 August 2013 12:50, Roy Smith <roy@panix.com> wrote:
> In article <mailman.417.1376104455.1251.python-list@python.org>,
>  Skip Montanaro <skip@pobox.com> wrote:
>
>> Given that installing numpy or scipy is generally no more difficult
>> that executing "pip install (scipy|numpy)" I'm not really feeling the
>> need for a battery here...
>
> I just tried installing numpy in a fresh virtualenv on an Ubuntu Precise
> box.  I ran "pip install numpy".  It took 1.5 minutes.  It printed
> almost 1800 lines of build crap, including 383 warnings and 83 errors.
> For a newbie, that can be pretty intimidating.
>
> That's for the case where I've already installed numpy elsewhere on that
> box, so I already had the fortran compiler, and the rest of the build
> chain.  For fun, I just spun up a new Ubuntu Precise instance in AWS.
> It came pre-installed with Python 2.7.3.  I tried "pip install numpy",
> which told me that pip was not installed.
>
> At least it told me what I needed to do to get pip installed.
> Unfortunately, I didn't read the message carefully enough and typed
> "sudo apt-get install pip", which of course got me another error because
> the correct name of the package is python-pip.  Doing "sudo apt-get
> install python-pip" finally got me to the point where I could start to
> install numpy.
>
> Of course, if I didn't have sudo privs on the box (most corporate
> environments), I never would have gotten that far.
>
> At this point, "sudo pip install numpy" got me a bunch of errors
> culminating in "RuntimeError: Broken toolchain: cannot link a simple C
> program", and no indication of how to get any further.

You should use apt-get for numpy/scipy on Ubuntu. Although
unfortunately IIRC this doesn't work as well as it should since Ubuntu
doesn't install the appropriate BLAS/LAPACK libraries by default
(leaving you with numpy's fallback libraries).

On Windows you should use the MSI installer (or easy_install).
Hopefully numpy/scipy will start distributing wheels soon and pip
install numpy will actually work.


Oscar

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


Thread

PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-10 01:10 +0000
  Re: PEP 450 Adding a statistics module to Python Skip Montanaro <skip@pobox.com> - 2013-08-09 22:14 -0500
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-10 07:50 -0400
      Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-10 13:23 +0100
        Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-10 08:43 -0400
          Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-10 14:17 +0100
  Re: PEP 450 Adding a statistics module to Python Ben Finney <ben+python@benfinney.id.au> - 2013-08-10 15:05 +1000
  Re: PEP 450 Adding a statistics module to Python Stefan Behnel <stefan_ml@behnel.de> - 2013-08-10 09:55 +0200
  Re: PEP 450 Adding a statistics module to Python Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-08-10 16:19 -0400
  Re: PEP 450 Adding a statistics module to Python Skip Montanaro <skip@pobox.com> - 2013-08-11 06:50 -0500
    Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-11 13:33 +0000
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-11 10:02 -0400
      Re: PEP 450 Adding a statistics module to Python duncan smith <buzzard@invalid.invalid> - 2013-08-11 16:44 +0100
  Re: PEP 450 Adding a statistics module to Python Nicholas Cole <nicholas.cole@gmail.com> - 2013-08-11 13:27 +0100
  Re: PEP 450 Adding a statistics module to Python Wolfgang Keller <feliphil@gmx.net> - 2013-08-13 20:14 +0200
    Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-13 19:44 +0100
    Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve@pearwood.info> - 2013-08-14 06:21 +0000
  Re: PEP 450 Adding a statistics module to Python CM <cmpython@gmail.com> - 2013-08-14 21:26 -0700
    RE: PEP 450 Adding a statistics module to Python "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-16 19:17 +0000
  Re: PEP 450 Adding a statistics module to Python taldcroft@cfa.harvard.edu - 2013-08-16 08:50 -0700
    Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 09:31 -0700
      Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-16 18:15 +0100
        Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 12:00 -0700
          Re: PEP 450 Adding a statistics module to Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-08-16 20:41 +0100
      Re: PEP 450 Adding a statistics module to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-16 18:51 +0000
        Re: PEP 450 Adding a statistics module to Python chris.barker@noaa.gov - 2013-08-16 12:48 -0700
    Re: PEP 450 Adding a statistics module to Python Roy Smith <roy@panix.com> - 2013-08-16 22:06 -0400
      Re: PEP 450 Adding a statistics module to Python Josef Pktd <josef.pktd@gmail.com> - 2013-08-17 05:13 -0700
  Re: PEP 450 Adding a statistics module to Python Jason Friedman <jsf80238@gmail.com> - 2013-08-17 21:57 -0600

csiph-web