No module named 'win32api' // PY2EXE

后端 未结 2 1962
Happy的楠姐
Happy的楠姐 2021-01-28 01:54

I am using Python 3.6.7 in conda 4.5.12 (Win10,64bit) and I want to compile my Python project to an .exe-File using Pyinstaller (3.5 dev). I keep getting the same error:

相关标签:
2条回答
  • 2021-01-28 02:11

    Just pypiwin32 didn't do it for me. It worked only when I uninstalled all libs related to pywin32 and then installed again

    0 讨论(0)
  • 2021-01-28 02:25

    Sometimes it happened to me on Windows that installed package is not visible. Try first uninstalling it:

    pip uninstall pypiwin32
    

    Make sure it has been removed:

    pip list
    

    Then install from scratch:

    pip install --no-cache pypiwin32
    

    Make sure it is installed:

    pip list
    

    You might see pywin32 in the list.

    0 讨论(0)
提交回复
热议问题