问题标签 [lvpxmt]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
650 浏览

python - 在 msys2 mingw-64 中安装 python aiortc 模块

我正在尝试在 msys2 环境中安装 aiortc 模块。

(尝试使用多种方法安装(pip、python -m pip、git clone、...)由于 30000 个字符的限制而尝试删除。)

问题在于 lvpxmt 库,msys platfrom 无法使用 pacman 命令。

编辑:我找到了一个解决方案,但根本没有稳定的,所以我需要你的帮助以获得更好的解决方案:

  1. 我修改了 https://github.com/aiortc/aiortc/blob/main/src/_cffi_src/build_vpx.py
  1. pacman -S mingw-w64-x86_64-libvpx从 msys 终端运行。

  2. 然后 git clone、python setup.py build 和 python setup.py install。

完成此步骤后,我可以成功导入 aiortc 模块。

问题是当我运行我制作的应用程序时,当请求连接时,这就是错误。

我不认为这是应用程序错误,因为完全相同的应用程序在不同的环境中运行没有错误(不同于 msys)。

那么,我该如何解决这个错误呢?如果需要,我可以提供我运行的 aiortc 应用程序代码。