[SciPy-user] building numpy fails

Robert Kern robert.kern at gmail.com
Sun Apr 2 13:45:41 CDT 2006

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.
>      	[...]	

>    File 
> "/home/elcorto/install/python/scipy/svn/numpy/numpy/distutils/exec_command.py", 
> 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

Robert Kern
robert.kern at gmail.com

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list