title: Installing Python Dependencies locally in project
body: <p>I am coming from NodeJS and learning Python and was wondering how to properly install the packages in <code>requirements.txt</code> file locally in the project.</p>
  
  <p>For node, this is done by managing and installing the packages in <code>package.json</code> via <code>npm install</code>. However, the convention for Python project seems to be to add packages to a directory called <code>lib</code>. When I do <code>pip install -r requirements.txt</code> I think this does a global install on my computer, similar to nodes <code>npm install -g</code> global install. How can I install the dependencies of my requirements.txt file in a folder called lib?</p>