C
C
captanjones2020-05-04 19:56:40
Python
captanjones, 2020-05-04 19:56:40

After building PyInstaller, an error is triggered (win32api module not found). What should I do?

Many have already encountered this problem and posted their questions on the Internet.
But none of the solutions helped.

import win32.win32api as win32

def pressed_keys ( ):
    ...

def is_pressed (key):
    ...


Import Error: DLL load failed while importing win32api: Не найден указанный модуль


I already have pypiwin32 and pywin32 installed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-05-04
@hottabxp

pip install pypiwin32

import win32.win32api as win32
- maybe it's better not to do that. Instead of win32, take a different name.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question