Testing numpy without doing an installation?

Francesc Altet faltet at carabos.com
Fri Oct 13 09:08:52 CDT 2006


Hi,

Is it possible to test a numpy version directly from the source
directory without having to install it? I mean, if I compile the sources
and try to use the package directly from there, I get unexpected
results. For example:

$ export PYTHONPATH=/home/faltet/python.nobackup/numpy/trunk
$ python2.4 -c "import numpy;print numpy.dtype([('col1', '(1,)i4')])"
Running from numpy source directory.
Traceback (most recent call last):
  File "<string>", line 1, in ?
AttributeError: 'module' object has no attribute 'dtype'

It would be nice to have a way of testing a recently built version of
numpy prior to install it.

Thanks,

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"

"Be careful about using the following code --
 I've only proven that it works, I haven't tested it." -- Donald Knuth


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


More information about the Numpy-discussion mailing list