简体   繁体   中英

how to install scipy for python?

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 .

在此输入图像描述

I cannot figure what to do now!

How do I finish getting scipy installed?

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.

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

eg

easy_install scipy

There's another one called pip.

easy_install pip

pip install scipy

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM