Python pip install options
<p><a href="https://pip.pypa.io/en/stable/reference/pip_install/#options" rel="nofollow">https://pip.pypa.io/en/stable/reference/pip_install/#options</a></p>

<p>so i have multiple python and i want to install a package to one specific python</p>

<p>for example, python lib is located in /top/python-demo-5/lib/python2.7</p>

<p>i looked at --build, --target, --src and i m assuming i need to use --target to specify installation location</p>

<p>Which command do i need to use?</p>

<pre><code>pip install --target /top/python-demo-5/lib/python2.7 &lt;package&gt;
</code></pre>

<p>or </p>

<pre><code>pip install --target /top/python-demo-5/lib/python2.7/site-packages &lt;package&gt;
</code></pre>

<p>im on RHEL</p>