[Numpy-discussion] numpy and freeze.py
Hanno Klemm
klemm at phys.ethz.ch
Wed May 23 04:32:22 EDT 2007
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 <mjanikas at esri.com> 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: numpy-discussion-bounces at scipy.org
> [mailto:numpy-discussion-bounces at scipy.org] On Behalf Of Hanno Klemm
> Sent: Tuesday, May 22, 2007 9:04 AM
> To: numpy-discussion at 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
> klemm at phys.ethz.ch
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
--
Hanno Klemm
klemm at phys.ethz.ch
More information about the NumPy-Discussion
mailing list