python-3.x - 如何在 Windows 上安装 miniupnpc 作为 python 模块

标签 python-3.x windows pip miniupnpc

我想在我的Python脚本中使用UPnP,所以我尝试通过pip install miniupnpc安装miniupnpc。但是安装开始后会出现一 pip 错误:

ERROR: Command errored out with exit status 1:

         cwd: C:\Users\sammy\AppData\Local\Temp\pip-install-jrjs0fss\miniupnpc\
    Complete output (4 lines):
    running install
    running build
    running build_ext
    error: [WinError 2] The system cannot find the file specified
    ----------------------------------------

我检查了 GitHub,但我不知道在哪里可以找到编译 python 模块所需的工具或如何使用它们。

最佳答案

我相信当时这个库有 pip bug,我最终没有解决这个问题,我建议寻找其他工具。

还值得一提的是,当时我并不是一个很好的程序员,现在我实际上了解了库和包的本质。

关于python-3.x - 如何在 Windows 上安装 miniupnpc 作为 python 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63525105/

相关文章:

javascript - IE10 JavaScript 无法在计算机锁定时重新绘制窗口?

python - Pip install forked github-repo

python - 无法卸载需求jupyter,未安装

python - AttributeError : 'NoneType' object has no attribute 'title' [closed]

python - 连接MySQL的pyqt5在其他没有MySQL的电脑上可以工作吗?

python - 将大图像保存在另一个线程中

Python 子进程在 Windows 上乱序运行

php - 如何提高 IIS PHP 服务器上的读取文件速度?

python - pip无法在Mac上的Docker容器内安装软件包

python - 单击几下后“update_layout”无法正常工作