I am trying to get pydub
package to work. I installed pydub
and ffmpeg
. When I run my code:
from pydub import AudioSegment
sound = AudioSegment.from_mp3('Q001007.mp3')
I get the following error:
> OSError: [WinError 740] The requested operation requires elevation
I am not sure how to solve this error or why it is happening. I checked a solution in another post Request UAC elevation from within a Python script? but the solution there did not work. Is there an easier way to get pydub to work?