how do i fix “No module named win32api;” on python2.7 ? RRS feed

  • Question

  • I am trying to import win32api in python 2.7.9. i did the "pip install pypiwin32" and made sure all the files were intalled correctly (i have the win32api.pyd under ${PYTHON_HOME}\Lib\site-packages\win32). i also tried coping the files from C:\Python27\Lib\site-packages\pywin32_system32 to C:\Python27\Lib\site-packages\win32. I also tried restarting my pc after each of these steps but nothing seems to work! i still get the error 'No module named 'win32api''

    • Edited by shongr2k1 Wednesday, April 17, 2019 6:47 PM
    • Moved by litdev Wednesday, April 17, 2019 6:51 PM
    Wednesday, April 17, 2019 6:46 PM


  • well, turns out the answer is upgrading to python 3.6.  Worked for me :D
    hope it helps :)
    • Marked as answer by shongr2k1 Saturday, April 20, 2019 3:44 PM
    Saturday, April 20, 2019 3:44 PM

All replies