title: Python Pip Local Download
body: <p>So I am looking to download Flask (and all other dependencies) locally for my project. I do this using the following code:</p>
  <pre><code>pip install -t lib Flask
  </code></pre>
  <p>This works and executes correctly. The result of this is saved in the <code>lib</code> directory. However, when trying to import Flask from <code>lib.Flask</code>, this error comes up:</p>
  <pre><code>ModuleNotFoundError: No module named 'jinja2'
  </code></pre>
  <p>I understand that Flask depends on this library, but it was installed with the above command along with Flask. In other words, <code>jinja2</code> is in the <code>lib</code> directory.</p>
  <p>Why am I getting this error? How can I fix it?</p>