Win32.com client

9434
5
Jump to solution
05-24-2017 09:33 AM
TonyAlmeida
Occasional Contributor II

I got new pc and working on update my scripts. I am getting 'No module named win32com.client' on of them and

I can quit remember how it is installed. I have 10.4.1 and python 2.7.10 that came with it. I believe i have download the correct one 'ad3‑2.0.2‑cp27‑cp27m‑win_amd64.whl' now i am trying to install it through pip. when i try to install it i get 'File is not a Zip file'.  Can some one be kind engought to guide me though install win32com.client pkg please.

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus
5 Replies
DanPatterson_Retired
MVP Emeritus

https://pypi.python.org/pypi/pypiwin32#downloads

then did you try

pip install pypiwin32

TonyAlmeida
Occasional Contributor II

I think you meant 'pypiwin32'

'C:\Python27\ArcGISx6410.4\Scripts>pip install pypiwin32' worked.

Thanks!

DanPatterson_Retired
MVP Emeritus

Thanks!... corrected now

0 Kudos
curtvprice
MVP Esteemed Contributor

Dan, is there any reason to do this using pip instead of the windows installer at sourceforge, which adds an entry to add remove programs and all that Windows jazz? I've always pointed people to the sourceforge download.

0 Kudos
DanPatterson_Retired
MVP Emeritus

I clean out stuff manually before and after or through windows doing installs.  Also, I still use pythonwin for an IDE on occasions and installing it took care of all the dependencies and cleanup.

If they both work, it really doesn't matter, I just normally use pip or conda now ... fewer things to remember

0 Kudos