ImportError: DLL load failed while importing win32api: Cannot find the specified module and report an error using python in Jupyter

problem:

Running the code on jupyter does not display the answer, and an error is reported that the specified module win32api cannot be found

Then use pip install pypiwin32 to install, prompting that it has been installed.

 

solve:

At this time, we only need to find the file named pywin32_system32 in the corresponding python file and copy all the contents to the system file C:\Windows\System32.

The path of pywin32_system32 in my system is as follows: D:\python\Anaconda3\envs\t1\Lib\site-packages\pywin32_system32

problem:

Running the code on jupyter does not display the answer, and an error is reported that the specified module win32api cannot be found

Then use pip install pypiwin32 to install, prompting that it has been installed.

 

solve:

At this time, we only need to find the file named pywin32_system32 in the corresponding python file and copy all the contents to the system file C:\Windows\System32.

The path of pywin32_system32 in my system is as follows: D:\python\Anaconda3\envs\t1\Lib\site-packages\pywin32_system32

Guess you like

Origin blog.csdn.net/weixin_51267929/article/details/113787830