2

I have Python 2.7, and I have distutils installed.

I downloaded the latest version of Scipy for win 32.

For the life of me, I do not understand how to install it.

From the directions on the site, it states:

If you already have Python installed, the easiest way to install Numpy and Scipy is to download and install the binary distribution from Download.

I have followed the above directions and downloaded this.

enter image description here

I cannot figure what to do now!

How do I finish getting scipy installed?

Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062

4 Answers4

5

It looks like you've downloaded the source distribution, which you would normally install by doing:

python setup.py install

However, without the proper C compiler environment and other libraries, it will probably fail. I'm guessing you really wanted to download the Windows binaries .

You have to drill a little further down in the sourceforge site to find it.

Collin
  • 11,977
  • 2
  • 46
  • 60
  • I dont think this will work for him unless he has the vsrallbat.dll or whatever it is from microsoft... – Joran Beasley Oct 04 '12 at 20:46
  • http://www.lfd.uci.edu/~gohlke/pythonlibs/ This is a helpful site with a number of binaries for scientific python computing in one place. – kreativitea Oct 04 '12 at 21:36
2

try downloading the windows binary ...

http://sourceforge.net/projects/scipy/files/scipy/0.11.0/scipy-0.11.0-win32-superpack-python2.7.exe/download

Joran Beasley
  • 110,522
  • 12
  • 160
  • 179
2

You'll be well off installing setuptools. Makes installing almost anything python-related a breeze!

e.g.

easy_install scipy

There's another one called pip.

easy_install pip

pip install scipy
Anuj Gupta
  • 10,056
  • 3
  • 28
  • 32
  • i think i have that already! how would i use it to install scipy? – Alex Gordon Oct 04 '12 at 20:46
  • I dont think this will work for him unless he has the vsrallbat.dll or whatever it is from microsoft... (in this case...) but in general yes setuptools is a win – Joran Beasley Oct 04 '12 at 20:47
  • awesome!!!! can you tell me how did you know it was scipy and not scipy1.01 or something like that? – Alex Gordon Oct 04 '12 at 20:50
  • To be honest I just know it from having used easy_install and pip a lot and they don't include version numbers - just easy to remember names. In case you *do* need to use a version number, it's easy as `easy install scipy==0.9` (pseudo version number) – Anuj Gupta Oct 04 '12 at 20:51
  • 1
    @JoranBeasley Ah, the dreaded vcvarsall.bat error. Yeah, sometimes it messes you up. But easy_install works a lot better than pip on Windows for some reason – Anuj Gupta Oct 04 '12 at 20:54
  • Try `easy_install scikit-learn`. Before you ask - Found it by Googling "sklearn pypi". [PyPI](http://pypi.python.org/pypihttp://pypi.python.org/pypi) is the source of this awesomeness. – Anuj Gupta Oct 04 '12 at 20:56
0

just open windows command prompt and go to the directory you have installed Python. e.g c:\python34>

Once there, just type python -m pip install scipy and press enter

jerry
  • 9
  • 1