[SciPy-user] building numpy fails
pearu at scipy.org
Mon Apr 3 09:31:30 CDT 2006
On Mon, 3 Apr 2006, Steve Schmerler wrote:
> Robert Kern wrote:
>> Steve Schmerler wrote:
>>> The latest numpy svn checkout fails to build (Python 2.3.5) when trying
>>> to call tempfile.mktemp(). The module index says:
>>> mktemp([suffix[, prefix[, dir]]])
>>> Deprecated since release 2.3. Use mkstemp() instead.
>>> line 279, in _exec_command_posix
>>> tmpfile = tempfile.mktemp()
>>> AttributeError: 'module' object has no attribute 'mktemp'
>> Do you have a file tempfile.py sitting around that isn't the standard library's
I can reproduce this error with pyhton 2.3 but not with 2.4.
So it seems to be a bug of import machinery of Python 2.3. I have commited
a workaround to this problem to numpy svn.
More information about the SciPy-user