![]() ModuleNotFoundError Traceback (most recent call last) Though we can find a package named ffmpeg on both pypi and anaconda, if we only installed one of the source, we will probably see the error like In : import ffmpeg The other solution (if you already used pip to install Pydub, and it does not work) is to install the missing ffmpeg package. Reason unknown, possibly due to the compatibility stuff. Simply install pydub with conda, not pip (despite the suggestion on Pydub's GitHub page) conda install -c conda-forge pydub Pydub requires it to perform the operations of format conversion. The problem is due to the missing of ffmpeg. Although i have answers suggesting the installation of ffmpeg, but i dont know if affect the app deployment in any way later on ![]() I don't know why it raises this error as i am very sure the file exists. WindowsError: The system cannot find the file specified Stereo_to_mono sound = om_mp3(PROJECT_DIR '\\files\\rec' str(c) '.mp3')įile "build\bdist.win32\egg\pydub\audio_segment.py", line 346, inįile "C:\Python27\lib\subprocess.py", line 711, in initįile "C:\Python27\lib\subprocess.py", line 948, in _execute_child I have seen different answers but i think i would to go for the one of pydub, which i already did using these few lines from pydub import AudioSegmentĪom_mp3("/input/file.mp3").export("/output/file.wav", format="wav")īut when I run the above code, i get the following errorĬ:\Python27\lib\site-packages\pydub-0.14.2-py2.7.egg\pydub\utils.py:165: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not workįile "C:/Users/phourlhar/Desktop/VoiceDetector/yeah.py", line 7, inįile "C:\Users\phourlhar\Desktop\VoiceDetector\utils.py", line 25, in Ok, now I am stuck up in converting mp3 to wav.
0 Comments
Leave a Reply. |