Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'ffmpeg' #159

Open
CozBoogie opened this issue Dec 11, 2024 · 3 comments
Open

No module named 'ffmpeg' #159

CozBoogie opened this issue Dec 11, 2024 · 3 comments
Labels
question Ask for help setting up or running a VSMP

Comments

@CozBoogie
Copy link

Long time user of VSMP and recently I decided to do a clean install after having to get a new Waveshare screen (my ribbon tore on my previous screen).

After following the automated install I'm thrown this error:

Traceback (most recent call last):
File "/home/cozboogie/SlowMovie/slowmovie.py", line 20, in
import ffmpeg
ModuleNotFoundError: No module named 'ffmpeg'

did some searching and googling and attempt proposed fixes....but zero luck.

thoughts?

Thanks and cheers

@CozBoogie CozBoogie added the question Ask for help setting up or running a VSMP label Dec 11, 2024
@robweber
Copy link
Collaborator

Can you give a little more information on how you installed and ran the script? For ffmpeg specifically there is both an OS package and a Python package that need to be installed for it to work. The script is also configured to run under a Python virtual environment as well. Without that activated it wouldn't find the installed libraries.

@CozBoogie
Copy link
Author

Hey Rob,
Installed from the homepage and followed all the prompts.

Ran this as normal:
python3 slowmovie.py

I'll look at installing the OS and python package to see if that remedies the error.

Thanks

@robweber
Copy link
Collaborator

If you are installing from the instructions did you activate the virtual environment? Running python3 outside of the virtual environment won't find the packages. Did pip3 freeze list the required packages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Ask for help setting up or running a VSMP
Projects
None yet
Development

No branches or pull requests

2 participants