[Numpy-discussion] Freezing Numeric Python code problem under Linux
npirzkal at eso.org
Mon Nov 27 09:08:28 EST 2000
i am having troubles freezing some python code with call the Numeric
Here is an example of what happens under Linux Red Hat 6.2 and Python
$ cat t.py
a = Numeric.ones([10,10])
b = a * 10
$ python ~/Python-2.0/Tools/freeze/freeze.py -o tt t.py
$ cd tt
Traceback (most recent call last):
File "t.py", line 1, in ?
line 79, in ?
undefined symbol: _Py_NoneStruct
The very same code, under Solaris 2.6 and Python 2.0 works just fine.
Code which does not use the Numeric package freeze just fine under
Linux, so I think that this point to some problem/incompatibility of
Numeric with freeze.py.
Does anybody have a suggestion, or a work-around??
More information about the NumPy-Discussion