Pyinstaller - ImportError: No system module 'pywintypes' (pywintypes27.dll)

前端 未结 8 725
温柔的废话
温柔的废话 2021-01-11 18:03

I am trying to package my python script into an executable. I thought I would be pretty straight forward as I don\'t have very many imports. First off here are my imports:

8条回答
  •  不知归路
    2021-01-11 18:52

    Fix: No system module pywintypes (pywintypes39.dll).

    The first step is to open the Python installation directory and find the "pywin32_system32" folder

    The second step is to copy the entire folder to "project name\venv\Lib\site-packages"

    Sources:https://programmersought.com/article/92924476575/

    Good Luck!!

提交回复
热议问题