[英]how to install scipy for python?
I have Python 2.7, and I have distutils installed. 我有Python 2.7,我安装了distutils 。
I downloaded the latest version of Scipy for win 32 . 我为win 32下载了最新版本的Scipy 。
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 .
如果您已经安装了Python,安装Numpy和Scipy的最简单方法是从Download下载并安装二进制发行版 。
I have followed the above directions and downloaded this . 我按照上述指示下载了这个 。
I cannot figure what to do now! 我无法想象现在该做什么!
How do I finish getting scipy installed? 如何安装scipy?
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. 但是,如果没有适当的C编译器环境和其他库,它可能会失败。 I'm guessing you really wanted to download the Windows binaries .
我猜你真的想下载Windows二进制文件 。
You have to drill a little further down in the sourceforge site to find it. 您必须在sourceforge站点中向下钻一点才能找到它。
You'll be well off installing setuptools . 你可以安装setuptools 。 Makes installing almost anything python-related a breeze!
安装几乎任何与python相关的东西都是轻而易举的!
eg 例如
easy_install scipy
There's another one called pip. 还有一个叫做pip。
easy_install pip
pip install scipy
try downloading the windows binary ... 尝试下载Windows二进制文件...
http://sourceforge.net/projects/scipy/files/scipy/0.11.0/scipy-0.11.0-win32-superpack-python2.7.exe/download http://sourceforge.net/projects/scipy/files/scipy/0.11.0/scipy-0.11.0-win32-superpack-python2.7.exe/download
just open windows command prompt and go to the directory you have installed Python. 只需打开Windows命令提示符,然后转到已安装Python的目录。 eg
c:\\python34>
例如
c:\\python34>
Once there, just type python -m pip install scipy
and press enter 在那里,只需键入
python -m pip install scipy
并按Enter键
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.