Hi,
I want to use freeze.py on code that heavily relies on numpy. If I
just try
python2.5 /scratch/src/Python-2.5/Tools/freeze/freeze.py pylay.py
the make works but then I get the error:
Traceback (most recent call last):
File pylay.py, line 1, in module
import kuvBeta4 as kuv
File
Gong, Shawn (Contractor) wrote:
Hi Robert,
I used exactly your text in site.cfg. The out.txt seems to get the
lib_dir, but import numpy in python stills gives error.
*What* error? Please copy-and-paste the complete error message.
Please see the attached files.
Should I ask system guys to
Gong, Shawn (Contractor) wrote:
2) Then in Python, when I type import numpy
It says: Running from numpy source directory
Then I type numpy.sqrt(5)
AttributeError: 'module' object has no attribute 'sqrt'
I assume that this means numpy was not installed successfully.
No, it means that you are
Hi Robert
Running from numpy source directory message also appears when I
installed numpy.
I am running python 2.3.6, not 2.4
You said It is picking up the partial numpy package in the source. Do
you mean it is picking up the partial numpy package from python 2.3.6 ?
How do I change out of
On Tue, May 22, 2007 at 01:11:35PM -0400, Gong, Shawn (Contractor) wrote:
Hi Robert
Running from numpy source directory message also appears when I
installed numpy.
I am running python 2.3.6, not 2.4
Just what it says; the current directory is the directory that the
numpy source is in. If you
Thank you David M. Cooke and Robert.
Now I changed directory and ran python,
Got further and hit this error message:
python
Python 2.3.6 (#9, May 18 2007, 10:22:59)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-53)] on linux2
Type help, copyright, credits or license for more information.
import
I cant be sure if your issue is related to mine, so I was wondering
where/when you got your numpy build?
My issue:
http://projects.scipy.org/pipermail/numpy-discussion/2007-April/027000.h
tml
Travis has been kind enough to work with me on it. His changes are in
the svn. So, I don't think this
Sorry forgot to mention that Python was installed with-thread=no as it
is required for OpenEV application.
I remember that when I installed numarray I had to set --unthreaded
Maybe I need to do the same thing. Can someone tell me how to set this
flag?
Thanks,
Shawn
-Original Message-
Is there a way to obtain the equivalent of MAX_INT for the integral
types numpy knows about?
I know about numpy.finfo for the floating point types, but is there
anything like that for integral types?
Thanks,
--Bill
___
Numpy-discussion mailing list
Bill Baxter wrote:
Is there a way to obtain the equivalent of MAX_INT for the integral
types numpy knows about?
I know about numpy.finfo for the floating point types, but is there
anything like that for integral types?
SVN numpy has numpy.lib.getlimits.iinfo(), now.
--
Robert Kern
I have
Great. Thanks!
Is there a plan to expose that as numpy.iinfo?
--bb
On 5/23/07, Robert Kern [EMAIL PROTECTED] wrote:
Bill Baxter wrote:
Is there a way to obtain the equivalent of MAX_INT for the integral
types numpy knows about?
I know about numpy.finfo for the floating point types, but
Hello,
I am trying to use numpy in conjuction with a custom SWIGged C struct
(real_vec_t) that contains array data. I'd like to use the array interface
to share the array data between real_vec_t and numpy. I have two questions
for a combined numpy/SWIG magician:
- This is how I implement the
12 matches
Mail list logo