Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'scipy': 0.05; 'compiler': 0.07; 'separately': 0.09; 'setup.py': 0.09; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'cc:name:python list': 0.16; 'directly?': 0.16; 'distutils,': 0.16; 'easy_install': 0.16; 'numpy': 0.16; 'to:addr:pearwood.info': 0.16; "to:name:steven d'aprano": 0.16; 'wrote:': 0.18; 'passing': 0.19; 'otherwise,': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'versions': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'options': 0.25; 'meeting': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'tried': 0.27; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'sep': 0.31; 'steven': 0.31; 'option': 0.32; 'advice': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'building': 0.35; 'there': 0.35; '2.6': 0.36; 'installing': 0.36; 'should': 0.36; 'requirements': 0.37; 'skip:- 20': 0.37; 'clear': 0.37; 'handle': 0.38; 'either': 0.39; 'how': 0.40; 'ensure': 0.60; 'you.': 0.62; "you'll": 0.62; 'our': 0.64; 'here': 0.66; 'between': 0.67; 'fails,': 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=zCiiMvrt6GMbN4Xh8Ke6ZERdSbXtxALbmTmzA5VWse0=; b=c2rkl80V1Alm+Y1nBr5j45m0HSc+3FxpuIYFr+cF8Y7aQJD8e8O7jc9zqhzqZfqtgg HXlngY24bBWDLuTE3koBM+ujUjt1TpHgPKGSTGPvCKS84L/wVkzJ4wOFe9AtPMuBZC5J QdCNJyLwrHb9PBlQsFVTInNQf28//be7zHPG/5DhnzBlzU1rgnswsKtvWHmkZf2Po+PI enIsUnOlcURM0fjQEahBhse9PsP7wYPSpVJr48612gjGrqvTmU1sqIz/ayExO8moe5Ey iGkkf7ipIXrXLi/quqZpOi94lVRucn0uu9f9Xc/8A3r8D3S7wK37e4uyXYvjDYeG/+/m 9srg== X-Received: by 10.221.27.73 with SMTP id rp9mr107061vcb.29.1379507345048; Wed, 18 Sep 2013 05:29:05 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <52391468$0$29869$c3e8da3$5496439d@news.astraweb.com> References: <52391468$0$29869$c3e8da3$5496439d@news.astraweb.com> From: Oscar Benjamin Date: Wed, 18 Sep 2013 13:28:44 +0100 Subject: Re: scipy 11 and scipy 12 To: "Steven D'Aprano" Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379507353 news.xs4all.nl 15876 [2001:888:2000:d::a6]:41721 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54377 On 18 September 2013 03:48, Steven D'Aprano wrote: > On Tue, 17 Sep 2013 20:06:44 -0400, Susan Lubbers wrote: > >> Our group is a python 2.7 which is installed in a shared area. We have >> scipy 11 installed in site-packages. How would I install scipy 12 so >> that I used the shared install of python but scipy 12 instead of 11? > > If you are using Python 2.6 or better, you should be able to include the > option "--user" when installing Scipy using either pip or distutils. I > haven't tried these, but: > > # using pip: > pip install --install-option="--user" scipy Is there a difference between --install-option="--user" and just passing --user directly? > If that fails, follow the advice given here to install from svn: > http://stackoverflow.com/questions/2213551/installing-scipy-with-pip > > > pip install --install-option="--user" git+http://github.com/scipy/scipy/ > > > Otherwise, if you are installing from source using distutils, add the > --user option directly: > > python setup.py install --user scipy To be clear any of the above options are for building scipy from source which means you need a C compiler, a Fortran compiler and to separately build/install BLAS/LAPACK: http://stackoverflow.com/questions/7496547/python-scipy-needs-blas The best instructions for meeting these requirements depend on your OS (are you using Windows?). For Python 2.7 I think that easy_install will be able to install from the sourceforge binaries, e.g easy_install --user scipy but I may be wrong. You'll need to ensure that you don't have a mismatch between numpy/scipy versions and I don't know if easy_install will handle that for you. This may mean separately installing numpy as well. Oscar