ImportError: cannot import name 'FFProbe'

后端 未结 2 705
名媛妹妹
名媛妹妹 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条回答
  • 2020-12-21 13:55

    Use this ffprobe package instead for Python3. Works for me: pip install ffprobe-python

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题