Pyrex installation on windows XP: step-by-step guide

Robert Kern robert.kern at gmail.com
Mon May 22 22:00:05 EDT 2006


Jim Lewis wrote:
> Still problems :-(
> 
> I have a directory c:\data\code\test\pyrex containing:
> 
> build_and_install.bat:
> "C:\program files\Python\python.exe" setup.py build_ext
> --compiler=mingw32
> pause

> But running run.py gives: "ImportError: No module named worldimport"
> 
> Should worldimport.def be going to C:\program
> files\python\Lib\site-packages?
> Why isn't it?

You also have to run the distutils install command as well to place the results
of the build in site-packages.

-- 
Robert Kern

"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 Python-list mailing list