ImportError: DLL load failed while importing win32api: 找不到指定的模块 在Jupyter中使用python报错

问题:

在jupyter上运行代码没有显示答案,并且报错找不到指定的模块win32api

再用pip install pypiwin32安装,提示已安装。

解决:

这时我们只需找到对应python文件中的名称为pywin32_system32的文件将里面的内容全部复制到系统文件C:\Windows\System32中即可解决。

pywin32_system32在我的系统路径如下:D:\python\Anaconda3\envs\t1\Lib\site-packages\pywin32_system32

问题:

在jupyter上运行代码没有显示答案,并且报错找不到指定的模块win32api

再用pip install pypiwin32安装,提示已安装。

解决:

这时我们只需找到对应python文件中的名称为pywin32_system32的文件将里面的内容全部复制到系统文件C:\Windows\System32中即可解决。

pywin32_system32在我的系统路径如下:D:\python\Anaconda3\envs\t1\Lib\site-packages\pywin32_system32

猜你喜欢

转载自blog.csdn.net/weixin_51267929/article/details/113787830