安装numpy [英] installing numpy

查看:113
本文介绍了安装numpy的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在尝试在我的debian /测试linux中安装NumPy

2.6.15-1-686。


没有niany用于debian /测试,我独自一人,因为debian提供的

实验版将导致依赖

噩梦,


所以解压缩下载的文件numpy-0.9.6.tar.gz

,它创建了我的主目录中名为numpy-0.9的目录。 6,含


************************************ ************** **************

-rw-r - r-- 1 fred fred 1537 2006 -01-21 19:12 LICENSE.txt

-rw-r - r-- 1 fred fred 246 2006-01-22 12:44 MANIFEST.in

drwxr-xr-x 11 fred fred 4096 2006-05-08 20:06 numpy

-rw-r - r-- 1 fred fred 1472 2006-03-14 19:27 PKG-INFO

-rw-r - r-- 1 fred fred 476 2006-01-07 08:29 README.txt

-rw-r - r-- 1 fred fred 1164 2006-05-08 20:06 semantic.cache

-rwxr-xr-x 1 fred fred 2516 2006-03-13 1 8:02 setup.py

************************************ ************** **************


********** **************************************** ********** ****

$ cat README.txt

....

安装:


python setup.py install


如果

它可以找到它,则setup.py脚本将利用系统上的快速BLAS。您可以使用site.cfg文件来帮助完成此过程。


如果无法找到快速BLAS和LAPACK,则使用较慢的默认版本

。 br $> b $ b ....

******************************* ******************* **************


我发出命令上面的python setup.py install从

解压缩目录numpy-0.9.6,它会把包裹放在我系统中的

正确位置,我的印象是一个

numpy.py已解压,然后我把它放在sys.path但这不是

这里的情况。

谢谢

解决方案

cat README.txt

....

安装:


python setup.py install


如果

它可以找到它,setup.py脚本将利用你系统上的快速BLAS。您可以使用site.cfg文件来帮助完成此过程。


如果无法找到快速BLAS和LAPACK,则使用较慢的默认版本

。 br $> b $ b ....

******************************* ******************* **************


我发出命令上面的python setup.py install从

解压缩目录numpy-0.9.6,它会把包裹放在我系统中的

正确位置,我的印象是一个

numpy.py已解压,然后我把它放在sys.path但这不是

这里的情况。

谢谢

2006年5月9日星期二,下午09:03:31 +1000,Gary Wessle写道:

我正在尝试在我的debian /测试linux中安装NumPy /> 2.6.15-1-686。

没有niany用于debian /测试,我独自一人,因为debian提供的
实验版本将导致依赖
噩梦,




python-numeric怎么样?通过apt-cache search numpy找到。


亲切

Christoph

-

请回复清单 - 不是我本人。个人回复被忽略。


Christoph Haas< em *** @ christoph-haas.de>写道:

2006年5月9日星期二09:03:31 +1000,Gary Wessle写道:

我正在尝试在我的NumPy中安装NumPy debian /测试linux
2.6.15-1-686。

没有niany用于debian /测试,我独自一人,因为debian提供的
实验版本会导致依赖
梦魇,



python-numeric怎么样?通过apt-cache search numpy找到。




不再维护,请注意我之前的帖子标题为Numerical

Python教程错误


Hi

I am trying to install NumPy in my debian/testing linux
2.6.15-1-686.

with no numpy for debian/testing, I am left alone, since the
experimental version available by debian will result in a dependency
nightmares,

so after unpacking the downloaded file "numpy-0.9.6.tar.gz"
which crated a directory in my home directory called numpy-0.9.6 with

************************************************** **************
-rw-r--r-- 1 fred fred 1537 2006-01-21 19:12 LICENSE.txt
-rw-r--r-- 1 fred fred 246 2006-01-22 12:44 MANIFEST.in
drwxr-xr-x 11 fred fred 4096 2006-05-08 20:06 numpy
-rw-r--r-- 1 fred fred 1472 2006-03-14 19:27 PKG-INFO
-rw-r--r-- 1 fred fred 476 2006-01-07 08:29 README.txt
-rw-r--r-- 1 fred fred 1164 2006-05-08 20:06 semantic.cache
-rwxr-xr-x 1 fred fred 2516 2006-03-13 18:02 setup.py
************************************************** **************

************************************************** **************
$cat README.txt
....
To install:

python setup.py install

The setup.py script will take advantage of fast BLAS on your system if
it can find it. You can help the process with a site.cfg file.

If fast BLAS and LAPACK cannot be found, then a slower default version
is used.
....
************************************************** **************

do I issue the command above "python setup.py install" from the
unpacked directory numpy-0.9.6, would it put the packages in the
correct places in my system, I was under the impression that a
numpy.py is unpacked and then I place it the sys.path but this is not
the case here.
thanks

解决方案

cat README.txt
....
To install:

python setup.py install

The setup.py script will take advantage of fast BLAS on your system if
it can find it. You can help the process with a site.cfg file.

If fast BLAS and LAPACK cannot be found, then a slower default version
is used.
....
************************************************** **************

do I issue the command above "python setup.py install" from the
unpacked directory numpy-0.9.6, would it put the packages in the
correct places in my system, I was under the impression that a
numpy.py is unpacked and then I place it the sys.path but this is not
the case here.
thanks


On Tue, May 09, 2006 at 09:03:31PM +1000, Gary Wessle wrote:

I am trying to install NumPy in my debian/testing linux
2.6.15-1-686.

with no numpy for debian/testing, I am left alone, since the
experimental version available by debian will result in a dependency
nightmares,



What about "python-numeric"? Found through "apt-cache search numpy".

Kindly
Christoph
--
Please reply to the list - not to me personally. Personal replies are ignored.


Christoph Haas <em***@christoph-haas.de> writes:

On Tue, May 09, 2006 at 09:03:31PM +1000, Gary Wessle wrote:

I am trying to install NumPy in my debian/testing linux
2.6.15-1-686.

with no numpy for debian/testing, I am left alone, since the
experimental version available by debian will result in a dependency
nightmares,



What about "python-numeric"? Found through "apt-cache search numpy".



is no longer maintained, notice my previous post titled "Numerical
Python Tutorial errors"


这篇关于安装numpy的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆