2

I am trying to import VidoFileClip from moviepy.editor.

This is the code:

from moviepy.editor import VideoFileClip

This is the error:

   Traceback (most recent call last):
   File "E:\Spring2018\MastersProject\ProjectFiles\Alternate.py", line 7, in <module> from moviepy.editor import VideoFileClip
   File "C:\Python27\lib\site-packages\moviepy\editor.py", line 31, in <module> from .video.io.downloader import download_webfile
    File "C:\Python27\lib\site-packages\moviepy\video\io\downloader.py", line 7, in <module>
import requests
  ImportError: No module named requests
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131

1 Answers1

2

You need to install requests. Open up a terminal or a command prompt and type

pip install requests
ltd9938
  • 1,444
  • 1
  • 15
  • 29