返回

python3.7安装aiortc报错Failed to build pylibsrtp ERROR

报错Failed building wheel for pylibsrtp

报错内容

  1. build\temp.win-amd64-cpython-37\Release\pylibsrtp._binding.c(569): fatal error C1083: 无法打开包括文件: srtp2/srtp.h”: No such file or directory

即使按照提示安装了 visual studio builder;还是会报错以上内容

安装成功的配置

先安装 pylibsrtp(0.6.6版本)
aiortc 版本是1.5.0

安装成功

  1. Requirement already satisfied: pycparser in d:\codes\py_pctocam\myenv\lib\site-packages (from cffi>=1.0.0->aiortc) (2.21)
  2. Requirement already satisfied: typing-extensions in d:\codes\py_pctocam\myenv\lib\site-packages (from pyee>=9.0.0->aiortc) (4.7.1)
  3. Using cached aiortc-1.5.0-cp37-cp37m-win_amd64.whl (992 kB)
  4. Using cached aioice-0.9.0-py3-none-any.whl (24 kB)
  5. Using cached av-10.0.0-cp37-cp37m-win_amd64.whl (25.3 MB)
  6. Using cached cryptography-44.0.0-cp37-abi3-win_amd64.whl (3.2 MB)
  7. Using cached google_crc32c-1.5.0-cp37-cp37m-win_amd64.whl (27 kB)
  8. Using cached pyee-10.0.2-py3-none-any.whl (15 kB)
  9. Using cached pyOpenSSL-25.0.0-py3-none-any.whl (56 kB)
  10. Using cached dnspython-2.3.0-py3-none-any.whl (283 kB)
  11. Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
  12. Installing collected packages: ifaddr, av, pyee, google-crc32c, dnspython, cryptography, aioice, pyopenssl, aiortc
  13. Successfully installed aioice-0.9.0 aiortc-1.5.0 av-10.0.0 cryptography-44.0.0 dnspython-2.3.0 google-crc32c-1.5.0 ifaddr-0.2.0 pyee-10.0.2 pyopenssl-25.0.0

评论