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

前端 未结 8 724
温柔的废话
温柔的废话 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:59

    You should run post-install script for the pywin32 extensions with a '-install' parameter, to ensure the environment is setup correctly.

    pywin32_postinstall.py -install

提交回复
热议问题