![](https://secure.gravatar.com/avatar/764323a14e554c97ab74177e0bce51d4.jpg?s=120&d=mm&r=g)
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 tempfile.py? -- Robert Kern robert.kern@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