from __future__ import unicode_literals
import youtube_dl
print('Hello, please insert the url of the video that you want to download.')
downloadUrl = input()
ydl_opts = {}
with youtube_dl.YoutubeDL(ydl_opts) as ydl:
ydl.download([downloadUrl])
Hey, um, the program overall seems to be working just fine when it opens with the cmd, but when I try to run it with F5 in the IDLE, it crashes with the error: ImportError: No module named youtube_dl. I have it installed and tried re-installing it aswell. This particular program works fine, but trying to write anything else using this module brings this error up even in the cmd window.