Re: [Numpy-discussion] numpy and freeze.py
Thanks for your hint! My numpy version is 1.0.2. compiled by myself a bit ago. I have however not fully understood your reply. Is the issue, that caused problems in your code in the numpy svn version resolved now? I read something in the thread about forcefully unloading certain DLLs, I am on a Linux machine, I imagine that could change matters? A bit of googling brought me to this thread: http://aspn.activestate.com/ASPN/Mail/Message/numpy-discussion/3086478 Have these issues been resolved? Or should I rather ask the freeze developers? Hanno Mark Janikas [EMAIL PROTECTED] said: 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 is an issue that has arisen due to the changes unless you have checked numpy out recently and compiled it yourself. MJ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hanno Klemm Sent: Tuesday, May 22, 2007 9:04 AM To: numpy-discussion@scipy.org Subject: [Numpy-discussion] numpy and freeze.py 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 kuvBeta4.py, line 6, in module import mfunBeta4 as mfun File mfunBeta4.py, line 2, in module import numpy File /glb/eu/siep_bv/proj/yot04/apps/python2.5/lib/python2.5/site-packages/n umpy/__init__.py, line 39, in module import core File /glb/eu/siep_bv/proj/yot04/apps/python2.5/lib/python2.5/site-packages/n umpy/core/__init__.py, line 5, in module import multiarray ImportError: No module named multiarray Am I doing something wrong? Or does freeze.py not work with numpy? Hanno -- Hanno Klemm [EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion -- Hanno Klemm [EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] numpy and freeze.py
Hanno Klemm wrote: 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 I've seen people use NumPy with programs like freeze before. You have to take into account that multiarray is a compiled extension module. Thus, you usually have to do something (like write a description file or something like that) to make sure it gets included in the distribution tree. I've never done it, so I am not of much help. -Travis ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion
Re: [Numpy-discussion] numpy and freeze.py
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 is an issue that has arisen due to the changes unless you have checked numpy out recently and compiled it yourself. MJ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hanno Klemm Sent: Tuesday, May 22, 2007 9:04 AM To: numpy-discussion@scipy.org Subject: [Numpy-discussion] numpy and freeze.py 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 kuvBeta4.py, line 6, in module import mfunBeta4 as mfun File mfunBeta4.py, line 2, in module import numpy File /glb/eu/siep_bv/proj/yot04/apps/python2.5/lib/python2.5/site-packages/n umpy/__init__.py, line 39, in module import core File /glb/eu/siep_bv/proj/yot04/apps/python2.5/lib/python2.5/site-packages/n umpy/core/__init__.py, line 5, in module import multiarray ImportError: No module named multiarray Am I doing something wrong? Or does freeze.py not work with numpy? Hanno -- Hanno Klemm [EMAIL PROTECTED] ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion