ImportError: DLL load failed while importing win32api: The specified module could not be found.

Problem Description

ImportError: DLL load failed while importing win32api: The specified module could not be found.

Cause of the problem

missing dll i.e. dynamic link library

My solution

The Anaconda\Lib\site-packages\pywin32_system32 file can be solved by copying all the contents inside to the system file C:\Windows\System32.
My environment win11 enterprise version anaconda2021 python3.9 other versions do not guarantee success

Guess you like

Origin blog.csdn.net/GodGump/article/details/128879379