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

New install... VideoFileClip("x.mp4").subclip(0,13) gives "reader not defined error" #461

Closed
hallcp2 opened this issue Mar 4, 2017 · 3 comments

Comments

@hallcp2
Copy link

hallcp2 commented Mar 4, 2017

I have installed Python & MoviePy successfully on one Win7 machine, but on the other I get this error:

clip = VideoFileClip("x.mp4").subclip(0,13)
... (lengthy traceback) ...
NameError global name 'reader' is not defined.

Both ffmpeg and ImageMagick are in the command path. I'm brand new to Python and I'm clueless as to what it's trying to tell me.

Sorry if this is the wrong forum for newbie questions, but I couldn't find any other place to turn to for help.

C. Hall

@ghost
Copy link

ghost commented Mar 4, 2017

Did you install moviepy from the repo or from pip, etc? If you installed from pip try installing from the repo.

@hallcp2
Copy link
Author

hallcp2 commented Mar 5, 2017

Wow, you're a genius! Getting a fresh copy from the Repo and re-installing did the trick. I don't recall how I installed it originally, but maybe wherever it was pulling from was broken.

Thanks so much. I was out of ideas.

@ghost
Copy link

ghost commented Mar 6, 2017

I'm gonna close this issue. Feel free to reopen it, if you need to!

@ghost ghost closed this as completed Mar 6, 2017
This issue was closed.
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

1 participant