Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to start a Buildbot Buildslave on a Windows XP virtual machine:

python buildbot start .

ImportError: No module named win32api.

Google tells me that win32api is win32api.dll. I downloaded the file from and followed the guide found on that site ( When I try to run regsvr32 win32api.dll, it tells me that the specified module could not be found.

tl;dr - Where do I put win32api.dll so Windows will install it? Am I trying to use the wrong file? (using python version 2.6)

share|improve this question
up vote 1 down vote accepted

Do you have Twisted and pywin32 installed alongside Python? Buildbot requires all three on Windows. Unfortunately, the Buildbot manual doesn't appear to mention pywin32. More information can be found on the Buildbot wiki and the Python wiki.

share|improve this answer

If you go to a command prompt and type "echo %pythonpath%" (without the quotes), does it give you a file path to python?

It sounds like maybe the environment variable for python is missing.

If it is, you can go under Control Panel->System->Advanced, click Environment Variables, click New, enter PYTHONPATH, then enter the path to the python lib folder (c:\python26\lib or whatever). You might also want to add that same path to your PATH environment variable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.