ImportError: cannot import name 'FFProbe'

后端 未结 2 715
名媛妹妹
名媛妹妹 2020-12-21 13:25

I can\'t get the ffprobe package to work in Python 3.6. I installed it using pip, but when I type import ffprobe it says

Traceback (most recent          


        
2条回答
  •  -上瘾入骨i
    2020-12-21 13:57

    The solution is that the ffprobe package only works with Python 2.

    In Python 3 the import statement would need to be from .ffprobe ..., but just changing that is not sufficient as there are other lines that only work in Python 2 as well.

    Thanks to Rawing.

提交回复
热议问题