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


Groups > comp.lang.python > #54377

Re: scipy 11 and scipy 12

References <mailman.97.1379462885.18130.python-list@python.org> <52391468$0$29869$c3e8da3$5496439d@news.astraweb.com>
From Oscar Benjamin <oscar.j.benjamin@gmail.com>
Date 2013-09-18 13:28 +0100
Subject Re: scipy 11 and scipy 12
Newsgroups comp.lang.python
Message-ID <mailman.117.1379507353.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 18 September 2013 03:48, Steven D'Aprano <steve@pearwood.info> 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

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


Thread

scipy 11 and scipy 12 Susan Lubbers <lubrs@comcast.net> - 2013-09-17 20:06 -0400
  Re: scipy 11 and scipy 12 Steven D'Aprano <steve@pearwood.info> - 2013-09-18 02:48 +0000
    Re: scipy 11 and scipy 12 Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-18 13:28 +0100
      Re: scipy 11 and scipy 12 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-19 02:42 +0000
        Re: scipy 11 and scipy 12 Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-09-19 13:34 +0100

csiph-web