Installing Python Win32 Extensions

When installing python win32 extensions, normally while using the command

 setup.py -q install

on the command line you will end up in facing termination with the error

Unable to find vcvarsall.bat

You can try to use MinGW for this and run in the command line

setup.py install build --compiler=mingw32

after adding MinGW to the windows path. And this too doesn’t work for me.

but this will give the following error sometimes:

Cannot find version Windows.h

To easily install Pyton Win32 Extensions the key here is that instead of downloading the pywin32-214.zip, which comes automatically as a suggestion from SourceForge, browse to All Files > pywin32 > Build 214 > Download the correct exe file corresponding to your python already installed in your system.

Now it installs as a breeze and you are done with it.

Advertisement

2 Responses to Installing Python Win32 Extensions

  1. Congrats. It works!

  2. thank you!!!!!!!!!!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s