I want use different kernels on jupyter, but how can I install different libraries on different kernel?
<p>I have two kernels on my jupyter, one is py2.7 and the other is py3.5, but how can I install different libraries like pandas or numpy for py2.7?</p>

<p>You ought to use a <a href="https://virtualenv.pypa.io/en/stable/" rel="nofollow">virtualenv</a>: this create a local copy of the Python of your choice. </p>

<p>Then you can use <a href="https://pypi.python.org/pypi/pip" rel="nofollow">pip</a> to install libraries like Pandasâ¦</p>

<p>But, before, install Jupyter in your newly created virtualenv with:</p>

<pre><code>pip install jupyter
</code></pre>

python jupyter