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

Issue on moviepy dependency? #123

Open
Jplferreyra opened this issue Jan 2, 2025 · 1 comment
Open

Issue on moviepy dependency? #123

Jplferreyra opened this issue Jan 2, 2025 · 1 comment

Comments

@Jplferreyra
Copy link

When trying to run a simple script (just testing) I get the following error:


$python3 src/uploader/ig_uploader.py

Traceback (most recent call last):
  File "/Users/juanferreyra/workspaces/reddit-to-insta/src/uploader/ig_uploader.py", line 1, in <module>
    from ensta import Mobile, Guest, Host, Web
  File "/Users/juanferreyra/workspaces/reddit-to-insta/.venv/lib/python3.12/site-packages/ensta/__init__.py", line 2, in <module>
    from ensta.WebSession import WebSession
  File "/Users/juanferreyra/workspaces/reddit-to-insta/.venv/lib/python3.12/site-packages/ensta/WebSession.py", line 8, in <module>
    import moviepy.editor
ModuleNotFoundError: No module named 'moviepy.editor'

First I didn't had ffmpeg and thrown another error, but after that couldn't do anything.
Here is the script, same error if using Mobile, Guest, Host or Web object:

from ensta import Mobile, Guest, Host, Web

guest = Guest()
messi = guest.profile("leomessi")
print(messi.full_name)

mobile = Mobile("reddit.latino","Eaferreropq250597#")
profile = mobile.profile("leomessi")

print(profile.full_name)
print(profile.biography)

Only thing that comes to mind is that moviepy library has changed something?

@syferdev29
Copy link

pip uninstall moviepy
pip install moviepy==1.0.3

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

2 participants