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

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

    I was using a virtual env and had the same problem. The pywintypes35.dll was missing. This was my solution:

    pip install pypiwin32
    

提交回复
热议问题