

You can try creating a virtual environment if you don’t already have one. If you are using a virtual environment, make sure you are installing ffmpeg-python in your virtual environment and not globally. If the package is not installed, make sure your IDE is using the correct version of Python. The pip show ffmpeg-python command will either state that the package is not installed or show a bunch of information about the package, including the location where the package is installed.

# 👇️ check if you have ffmpeg-python installed pip3 show ffmpeg-python # 👇️ if you don’t have pip setup in PATH python3 -m pip show ffmpeg-python You can check if you have the ffmpeg-python package installed by running the pip show ffmpeg-python command. If the “No module named ffmpeg-python” error persists, try restarting your IDE and development server / script. 3.10 python3 -m pip install ffmpeg-python # 👇️ make sure to use your version of Python, e.g. If the PATH for pip is not set up on your machine, replace pip with python3 -m pip. Notice that the version number corresponds to the version of pip I’m using. So I would install the ffmpeg-python package with pip3.10 install ffmpeg-python pip3.10 install ffmpeg-python # 👇️ if you get permissions error use pip3 (NOT pip3.X) sudo pip3 install ffmpeg-python # 👇️ Checking version of python python –version If the error persists, get your Python version and make sure you are installing the package using the correct Python version.

Open your terminal in your project’s root directory and install the ffmpeg-python module. To solve the error, install the module by running the pip install ffmpeg-python command. The Python ModuleNotFoundError: No module named ‘ffmpeg-python’ occurs when we forget to install the ffmpeg-python module before importing it or installed it in an incorrect environment.
