这几天,终于不再用Notepad++,而改用Pycharm,来做Python编程了。今天早上运行一个调用Win32api的程序,开始报错:
import win32api, sys, os
ImportError: DLL load failed: The specified module could not be found.

在 ImportError: DLL load failed: win32api, sys, os · Issue #23 · michaelgundlach/pyspeech · GitHub 这个链接中找到解决办法,简而言之,就是:

After you installed the pywin32 libs, there is a directory "Lib/site-packages/pywin32_system32", which including three dll libs, copy them to the "/Lib/site-packages/win32" directory, which including the win32api.pyd or win32api.pyc.

import win32api, sys, os ImportError: DLL load failed: The specified module could not be found.相关推荐

  1. import h5py ImportError: DLL load failed: the specified module could not be found

    import h5py ImportError: DLL load failed: the specified module could not be found 问题: import h5py 解决 ...

  2. from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui:

    from PyQt6 import QtCore, QtGui, QtWidgets ImportError: DLL load failed while importing QtGui: 找不到指定 ...

  3. import tensorflow 报错 ImportError: DLL load failed: 找不到指定的模块。

    刚刚在win10下使用anaconda安装了TensorFlow,但是运行import tensorflow as tf报错: 这里是因为缺少了相关的ddl,我下载了微软常用运行库合集,把所有的常用d ...

  4. pil ImportError: DLL load failed: 找不到指定的模块

    File "D:\Users\Administrator\Miniconda3\envs\python3\lib\site-packages\PIL\Image.py", line ...

  5. 安装pywin32时:ImportError: DLL load failed: %1 不是有效的 Win32 应用程序和 DLL load failed...

    问题一:ImportError: DLL load failed: %1 不是有效的 Win32 应用程序 import pywinapi报错:ImportError: DLL load failed ...

  6. Python使用Pillow包报错 ImportError: DLL load failed while importing _imaging: 找不到指定的程序。

    最近使用Python调用Pillow时报错,代码就两行: from PIL import Imageprint("PyCharm") 报错如下: Traceback (most r ...

  7. Miniconda, ImportError: DLL load failed while importing win32api

    Miniconda环境中 pip install pywin32 然后使用出错 import win32api ImportError: DLL load failed while importing ...

  8. 【解决】from win32com.shell import shellcon, shell ImportError: DLL load failed: 找不到指定的程序。

    某天用activate myenv激活虚拟环境的时候出现了这个错误. from win32com.shell import shellcon, shell ImportError: DLL load ...

  9. anaconda: import numpy报错:ImportError: DLL load failed: 找不到指定的模块。

    我的numpy的版本是1.15.1,我使用的是anaconda环境. 今天在导入numpy库时遇到了一个出乎意料的错误 >>> import numpy Traceback (mos ...

最新文章

  1. framework之Activity 生命周期解析(基于Android11源码)
  2. 5.1 上网本安装安卓x86_生信工具 | antiSMASH 安装教程
  3. 多线程信号量PV操作初探
  4. Redis 初探-安装与使用
  5. hive与hbase集成
  6. 深度学习笔记--单层感知机原理及代码实现
  7. HelloDjango 第 10 篇:小细节 Markdown 文章自动生成目录,提升阅读体验
  8. 如何系统的自学python-如何系统地自学 Python?
  9. 斗鱼mac html5,斗鱼html5插件
  10. linux select 与 阻塞( blocking ) 及非阻塞 (non blocking)实现io多路复用的示例
  11. SpringMVC面试题及答案
  12. [已解决] idea插件下载不了
  13. 【图像分类】YOLOv5-6.2全新版本:支持图像分类
  14. 【PYTHON】 Pilow 将半透明图片绘制到图片中
  15. 宠物诊所java项目_JavaWeb项目-宠物诊所管理系统
  16. hive 大数据 除重问题研究
  17. ultraiso制作u盘启动盘教程详解
  18. 步态能量图 matlab,【计算机视觉】步态能量图GEI
  19. dg的奇怪问题终结和分区问题答疑 (r7笔记第77天)
  20. 超好用的视频图片去除水印软件免费下载

热门文章

  1. 破解中国电信天翼宽带猫 贝尔e8-C光猫RG200O-CA_V1.1SP002超级密码获取、开启自动拨号和无线路由功能
  2. 《域渗透攻防指南》签名版预售来啦
  3. 2019北航考研机试题解
  4. webpack - 基础打包实现
  5. 【ZDNS分享】广电行业(四)DHCP解决方案
  6. 计算机二级office第37套word,全国计算机等级考试 二级MS Office高级应用(Word部分:第11-20套)...
  7. 研究生的压力应对与健康心理期末考试答案
  8. 如何打造又快又好的PPT(一)
  9. Powershell 过火绒免杀上线
  10. Leetcode 种花问题