[SciPy-user] building numpy fails

Steve Schmerler elcorto at gmx.net
Sun Apr 2 18:13:04 CDT 2006

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.
>>     	[...]	
>>   File 
>>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
> tempfile.py?


elcorto at ramrod:~/install/python/matplotlib$ sudo updatedb
elcorto at ramrod:~/install/python/matplotlib$ locate tempfile.py

numpy 0.9.6 from sourceforge builds just fine.


Random number generation is the art of producing pure gibberish as 
quickly as possible.

More information about the SciPy-user mailing list