Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54342 > unrolled thread
| Started by | Susan Lubbers <lubrs@comcast.net> |
|---|---|
| First post | 2013-09-17 20:06 -0400 |
| Last post | 2013-09-19 13:34 +0100 |
| Articles | 5 — 4 participants |
Back to article view | Back to comp.lang.python
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
| From | Susan Lubbers <lubrs@comcast.net> |
|---|---|
| Date | 2013-09-17 20:06 -0400 |
| Subject | scipy 11 and scipy 12 |
| Message-ID | <mailman.97.1379462885.18130.python-list@python.org> |
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?
[toc] | [next] | [standalone]
| From | Steven D'Aprano <steve@pearwood.info> |
|---|---|
| Date | 2013-09-18 02:48 +0000 |
| Message-ID | <52391468$0$29869$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #54342 |
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 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 Does this help? -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Oscar Benjamin <oscar.j.benjamin@gmail.com> |
|---|---|
| Date | 2013-09-18 13:28 +0100 |
| Message-ID | <mailman.117.1379507353.18130.python-list@python.org> |
| In reply to | #54350 |
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
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-09-19 02:42 +0000 |
| Message-ID | <523a648a$0$29988$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #54377 |
On Wed, 18 Sep 2013 13:28:44 +0100, Oscar Benjamin wrote: > 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? *shrug* I don't have any experience with pip, so I don't know. > 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. If I recall correctly, and I may not, easy_install doesn't support per- user installs with the --user option. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Oscar Benjamin <oscar.j.benjamin@gmail.com> |
|---|---|
| Date | 2013-09-19 13:34 +0100 |
| Message-ID | <mailman.147.1379594108.18130.python-list@python.org> |
| In reply to | #54413 |
On 19 September 2013 03:42, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: >> 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. I should add that I meant the above as a suggestion for a Windows user. > If I recall correctly, and I may not, easy_install doesn't support per- > user installs with the --user option. It has the option: $ easy_install --help | grep -- --user --user install in user site-package 'C:\Documents and I just don't know if that works when easy_install works from a binary rather than an sdist. Oscar
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web