我正在尝试从moviepy.editor导入VidoFileClip
这是代码
from moviepy.editor import VideoFileClip
这是错误
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
答案 0 :(得分:2)
您需要安装请求。打开终端或命令提示符并键入
pip install requests