I need to download it for Python 2.7, but can't seem to find it...
'pywin32' is its canonical name.
-
23You'll find this module on PyPI under the name
pypiwin32
: pypi.python.org/pypi/pypiwin32 – Epoc Mar 29 '17 at 13:00 -
8The import name not matching the pip install name thing is absolutely stupid and obnoxious. – gbtimmon Oct 6 '17 at 19:46
-
12"Stupid and obnoxious" is a comment probably best directed at the folks who are forcing you to use this software that others have spent many years developing to make available to you for free. – dash-tom-bang Oct 6 '17 at 20:29
-
4
-
2I got a weird DLL error when installing this with pip. Installing pypiwin32, as suggested by Drew Christianson's answer, worked better for me. stackoverflow.com/posts/31348620/revisions – Pro Q Feb 23 '18 at 23:43
There is a a new option as well: get it via pip! There is a package pypiwin32 with wheels available, so you can just install with: pip install pypiwin32
!
Edit: Per comment from @movermeyer, the main project now publishes wheels at pywin32, and so can be installed with pip install pywin32
-
3For those like me getting "Access denied" errors while installing, try
python -m pip install pypiwin32
as suggested by this SO thread. – user948581 Jun 14 '16 at 8:48 -
2
-
4@MarcelloRomani, probably to indicate that it's the version hosted on pypi, as opposed to the version hosted on sourceforge. I'm only guessing though. – John Sep 23 '16 at 12:49
-
3
-
As of 2017-11-11, the project moved to GitHub and publishes wheels at
pywin32
, which should probably be considered the new correct answer. – movermeyer Sep 7 '18 at 12:26
I've found that UC Irvine has a great collection of python modules, pywin32 (win32api) being one of many listed there. I'm not sure how they do with keeping up with the latest versions of these modules but it hasn't let me down yet.
UC Irvine Python Extension Repository - http://www.lfd.uci.edu/~gohlke/pythonlibs
pywin32 module - http://www.lfd.uci.edu/~gohlke/pythonlibs/#pywin32
http://sourceforge.net/projects/pywin32/files/ - 3rd .exe down
-
1Not sure what this link used to point to, but there isn't a "3rd .exe down" on the page. – kmote Mar 13 '14 at 16:55
-
3The answer date should have been all the context needed to figure out why "3rd .exe down" no longer applies. The README displayed prominently at this link explains how to select a build to download. – Jeremy Brown Mar 13 '14 at 17:48
-
Or Just goto github.com/mhammond/pywin32/releases and download the application for your architecture. – 0x48piraj Mar 6 '18 at 5:39