lipku / python_rtmpstream

python库,实现推送实时rtmp音视频流
MIT License
82 stars 26 forks source link

编译安装成功后,运行仍然报错 ImportError: DLL load failed while importing rtmp_streaming: 找不到指定的模块。 #29

Closed qwert1887 closed 4 months ago

qwert1887 commented 4 months ago

@lipku 您好,我在win10上直接通过pip install rtmp_streming 安装,运行报错"ImportError: DLL load failed while importing rtmp_streaming: 找不到指定的模块。"。 然后自己编译了ffmpeg,利用最新的代码安装pip install .,成功后运行依然报同样的错误。如果您遇到过类似的情况,希望您在百忙之中可以指点一二。感谢!

1716357247399
qwert1887 commented 4 months ago

分别更换了Python3.10、Python3.8,以及x64的win10、win11,不太行,报错信息根本找不到地方入手,可以告知下可能要用的dll文件都有哪些吗??? @lipku

qwert1887 commented 4 months ago

经过不断摸索,目前在windows10和windows11上,拷贝编译好的dll动态库后,利用pip install rtmp_streaming==0.0.5直接安装即可。如图, e88946edd476451cd690e5de3961e47

ajiansoft commented 1 month ago

@qwert1887 请问大佬拷贝哪里的dll到哪里?

qwert1887 commented 1 week ago

@qwert1887 请问大佬拷贝哪里的dll到哪里?

抱一丝,刚看到消息,我编译完ffmpeg后,从里面找的dll文件,你找找,找到后,15个dll文件全部放你环境中的 Library\bin\