Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed3.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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'root': 0.05; 'subject:Python': 0.06; '*not*': 0.07; 'subject:PEP': 0.07; 'x86': 0.07; 'methods,': 0.09; 'subject:module': 0.09; 'cc:addr:python- list': 0.11; 'atlas': 0.16; 'benjamin': 0.16; 'cleanly': 0.16; 'fallback': 0.16; 'iirc': 0.16; 'numerically': 0.16; 'optimised': 0.16; 'roy': 0.16; 'subject:Adding': 0.16; 'ubuntu,': 0.16; 'ubuntu.': 0.16; 'unavailable': 0.16; 'undesirable': 0.16; 'appropriate': 0.16; 'wrote:': 0.18; 'library': 0.18; 'work,': 0.20; 'preferred': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; "aren't": 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; "i've": 0.25; 'source': 0.25; 'possibly': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'libraries': 0.31; 'operations': 0.35; 'point.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'accuracy': 0.36; 'ubuntu': 0.36; 'method': 0.36; 'should': 0.36; 'generic': 0.38; 'others.': 0.38; 'use.': 0.39; 'sure': 0.39; 'enough': 0.39; 'even': 0.60; 'skip:u 10': 0.60; 'easy': 0.60; 'free': 0.61; 'august': 0.61; 'providing': 0.61; 'kind': 0.63; 'provide': 0.64; 'smith': 0.68; 'default': 0.69; 'article': 0.77; 'apt-get': 0.84; 'oscar': 0.84; 'proves': 0.84; 'defeat': 0.91; 'differences': 0.93; '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=HhUawy/54md++DqknMTY8g3/G9RJYx890Pj+T1Gd9FU=; b=zURlgjrmmLpD0NY8GCie2SY4JKK20lCWLWB7Pf0lqHcwB/owr3dzYY4t81xF63MazN kU0nvtIH8ZIg+QhJgxQ87TBz5nB4sBe5vFEuwR3LrRWitYuu5rFnKyNFPUEoL1mnBIbS xzmAeYO+L5qpC5t3yrqCd08514yhrB3IfbWyI7wzuX0hHqsUwzpXmXEt77z2DtszXPkO 4GFhRaYImVYpyZR9DZIxP2LHBwXudAlXS7cjiLoPaA1wzvDkJOQltrzPmmP3eRXFAo/t PK0qctuyAws14fV8Nf5Ti6IqJkSjWl7Ivp9kdZjoWy7jXWi/2A4Q+YR/py4vtwY6aljl gk0A== X-Received: by 10.52.24.111 with SMTP id t15mr6847844vdf.60.1376140653270; Sat, 10 Aug 2013 06:17:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <520592f9$0$30000$c3e8da3$5496439d@news.astraweb.com> From: Oscar Benjamin Date: Sat, 10 Aug 2013 14:17:13 +0100 Subject: Re: PEP 450 Adding a statistics module to Python To: Roy Smith 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376140994 news.xs4all.nl 15988 [2001:888:2000:d::a6]:35829 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52306 On 10 August 2013 13:43, Roy Smith wrote: > > In article , > Oscar Benjamin wrote: > >> 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). > > That really kind of proves my point. It's *not* easy to install. > Theres' a choice of methods, some of which work in some environments, > some of which work in others. And even if apt-get is the preferred > install method on Ubuntu, it's a method which is unavailable to people > without root access (and may be undesirable if you rely on virtualenv to > keep multiple projects cleanly separated). > > And, what happens if you don't have the right libraries? Do you end up > with an install which is missing some functionality, or one where all > the calls work, but they're slower, or numerically unstable, or what? AFAIK not having separate BLAS/LAPACK libraries just means that certain operations are a lot slower. If there are differences in accuracy then they aren't significant enough that I've noticed. I think that the reason Ubuntu doesn't install them by default is because it's not sure which ones you want to use. Possibly the best free setup comes from using ATLAS but this is optimised in a CPU-specific way at build time. Ubuntu doesn't provide binaries for it as using generic x86 executables would defeat much of the point of the library (they do make it a lot easier by providing a source package though). Oscar