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

Linux installation #8

Open
Wikinaut opened this issue Jul 11, 2016 · 4 comments
Open

Linux installation #8

Wikinaut opened this issue Jul 11, 2016 · 4 comments
Assignees

Comments

@Wikinaut
Copy link

I suggest you add under Linux a section for Debian, or modify the existing section:

sudo apt-get install python-pip
sudo pip install Pillow fpdf moviepy

to make installation easier for the Linux users.

@Wikinaut
Copy link
Author

Wikinaut commented Jul 11, 2016

On my system, I had to use sudo as in

sudo pip install Pillow fpdf moviepy

to avoid

error: could not create '/usr/local/lib/python2.7/dist-packages/fpdf': Permission denied

when installing as a user, but this is perhaps a matter of /usr/local/lib permissions. I don't know.

@607011 607011 self-assigned this Jun 1, 2020
@607011
Copy link
Owner

607011 commented Jun 1, 2020

The project now uses Python 3 and Pipenv. So it's no longer necessary the install the required modules manually.

@Wikinaut
Copy link
Author

I installed pipenv and had this https://github.com/pypa/pipenv/issues/3827 locking issue. After clearing the python cache I now got this error with your code:

./flippy.py
usage: flippy.py [-h] [--out OUT] [--height HEIGHT] [--paper {a5,a4,a3,letter,legal}] [--offset OFFSET] [--phena] [--dpi DPI] [--fps FPS] [-v [V]] video
flippy.py: error: the following arguments are required: video

and with the video file as input parameter I got

./flippy.py 1.mp4
Traceback (most recent call last):
  File "./flippy.py", line 277, in <module>
    main()
  File "./flippy.py", line 265, in main
    flippy = FlipbookCreator(
  File "./flippy.py", line 107, in __init__
    self.clip = VideoFileClip(self.input_file_name)
NameError: name 'VideoFileClip' is not defined

@ArisNeander
Copy link

ArisNeander commented Apr 12, 2021

NameError: name 'VideoFileClip' is not defined

Line 14 must be changed from
# from moviepy.editor import *
to
from moviepy.video.io.VideoFileClip import VideoFileClip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants