Menu

#367 win32api, win32com.client

closed-works-for-me
nobody
None
5
2008-07-04
2008-06-18
No

downloaded pwin32 from

http://sourceforge.net/project/showfiles.php?group_id=78018&package_id=79063

installed it

then, from a python shell, tried:

>>> import win32com.client
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "C:\Python24\Lib\site-packages\win32com\__init__.py", line 5, in ?
import win32api, sys, os
ImportError: No module named win32api

what can be done ??

Thanks

Discussion

  • Roger Upole

    Roger Upole - 2008-06-18

    Logged In: YES
    user_id=771074
    Originator: NO

    If it was installed over an existing installation, you might want to
    check if there are any outdated dll's left over from the previous
    build. It's possible old versions of pythoncom24.dll or pywintypes24.dll
    may be left in your system32 directory, or the
    \Lib\site-packages\pywin32_system32 dir.

     
  • Mark Hammond

    Mark Hammond - 2008-07-04
    • status: open --> closed-works-for-me
     
  • Mark Hammond

    Mark Hammond - 2008-07-04

    Logged In: YES
    user_id=14198
    Originator: NO

    Please reopen this if you are still having problems.

     
    • Stephen Ruhl

      Stephen Ruhl - 2016-06-23

      I am running into this same issue, except this is a new installation (pywin32-220.win32-py2.7.exe) I am running Python 2.7.8 32 bit. I don't have either of the above mentioned dlls in my System32 folder. Should I have them there?

       
MongoDB Logo MongoDB