How to Solve NameError: name 'AudioFileClip' is not defined -- moviepy

Solution: Import the 'AudioFileClip' module

To Solve the error, add the following line to the top of your code.

from moviepy import  AudioFileClip

 

For more information:
Python moviepy AudioFileClip