delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/10/00:21:38

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <001101c15142$f536b860$d938a8c0@Hadfield>
From: "Mark Hadfield" <m DOT hadfield AT niwa DOT cri DOT nz>
To: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
Cc: <bvu01 AT sprintspectrum DOT com>
Subject: RE; Numpy and NumTut
Date: Wed, 10 Oct 2001 17:20:56 +1300
Organization: NIWA
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

> I notice that cygwin does not include Numpy and NumTut in python.
> Will you consider to include Numpy and NumTut in with python in the
> next version of cygwin?

Jason Tishler supplies cygwin-python. He might consider including NumPy, but
I suspect not because it's really not hard to do for yourself.

> I have a very difficulty figuring out where cygwin put all lib
> and related module for python.  If download all the Numpy and
> related mods in contribution\python, how can I make cygwin see
> it so it can install for me? Please advise.

Make sure you have latest version of Cygwin python installed by running
Cygwin setup.

Download Numeric source file. The current one seems to be

http://prdownloads.sourceforge.net/numpy/Numeric-20.2.1.tar.gz

Unpack it to a directory outside the Cygwin tree.

Cd to the directory you've just created and run

/usr/bin/python setup_all.py build
/usr/bin/python setup_all.py install
/usr/bin/python setup_all.py clean

(I called "/usr/bin/python" because I have another version of Python on my
machine.)

It works like magic. You have Jason, the Numeric people & several others to
thank for sorting out the problems.

Start python and type

>>> import Numeric
>>> Numeric.__version___

and it should say

'20.2.1'

Not sure about the tutorial. Good luck!
---
Mark Hadfield
m DOT hadfield AT niwa DOT cri DOT nz  http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019