python - python3中的importlib.util是什么?

标签 python python-3.x image-scanner python-importlib

我正在尝试 pip install importlib使用 python 3.6,但我收到一个导入错误,说:“没有名为“importlib.util”的模块”。当我尝试 pip install imagescanner 时也会出现这种情况,这是我的真实意图。构建一个连接到图像扫描仪设备的应用程序,但这是另一个问题......
谢谢你的帮助!

最佳答案

importlib内置于 Python 3(至少对我而言),您可以直接导入它而无需安装任何东西。

pip install 的错误可能是由于 importlib是内置的,没有公开可用的发行版。

关于python - python3中的importlib.util是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48776853/

相关文章:

python - 在扫描文档中拆分文本行

python - urllib2.urlopen(req) 返回 404,即使发送了 HTTP 200

python-3.x - TF 2.0错误: Gradients does not exist for variables during training using gradienttape

python - 从 pandas 数据框中的标题中删除常用词

delphi - 从连接到计算机并在成像设备中列出的相机捕获图像

python - Python的标准库可以做结构化日志记录吗?

python - pyqtgraph : Multiple colors in PyQtGraph

python - 使用单元测试在 Jupyter 中测试学生的代码

c# - 如何从浏览器应用程序控制扫描仪?

c# - 在 Vista 上使用 C#/WIA 2.0 版进行扫描