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

Fixed packages requirements and version issues. #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kartikeyporwal
Copy link

  1. moviepy==0.2.3.5 caused
    Traceback (most recent call last):
    File "inference.py", line 3, in <module>
        import moviepy.editor as mov_editor
    File "/home/kartikey/anaconda3/envs/celeb_env/lib/python3.6/site-packages/moviepy/editor.py", line 26, in <module>
        imageio.plugins.ffmpeg.download()
    File "/home/kartikey/anaconda3/envs/celeb_env/lib/python3.6/site-packages/imageio/plugins/ffmpeg.py", line 38, in download
        "imageio.ffmpeg.download() has been deprecated. "
    RuntimeError: imageio.ffmpeg.download() has been deprecated. Use 'pip install imageio-ffmpeg' instead.

which could be fixed by upgrading to moviepy==1.0.0.

  1. Another error - ImportError: cannot import name 'Optional'
    could be solved by not installing pretrainedmodels==0.7.4 as it was installing torchvision==0.6.0 which caused the problem but torchvision==0.2.1 worked.

Copy link
Contributor

@dvoitekh dvoitekh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kartikeyporwal thank you. we haven't updated dependencies for a while and thus some of the warnings became errors

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

Successfully merging this pull request may close these issues.

2 participants