title: How to Embed Youtube-dl in a Python Script
body: <p>I'm trying to write a Python Script that downloads videos from youtube, and to do this I'm trying to use <a href="https://ytdl-org.github.io/youtube-dl/index.html" rel="nofollow noreferrer">youtube-dl</a>.  However, when I insert the code in my python script on their github page that is supposed to embed the code</p>
  <pre><code>from __future__ import unicode_literals
  import youtube_dl
  
  ydl_opts = {}
  with youtube_dl.YoutubeDL(ydl_opts) as ydl:
      ydl.download(['https://www.youtube.com/watch?v=BaW_jenozKc'])
  </code></pre>
  <p>my terminal spits out 'ImportError: No module named 'youtube_dl'</p>
  <p>What does this mean and how do I allow my script to access the youtube-dl module?  I'm guessing this has something to do with locating the original path I downloaded youtube_dl to.</p>