I am not able to run jupyter notebook after installation in ubuntu
<p>I installed jupyter on my ubuntu system via the following command :</p>

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

<p>After executing it I could run <code>jupyter notebook</code> successfully.
But unfortunately while trying to upgrade it for python3, I accidentally deleted all <code>jupyter</code> links from my <code>/usr/local/bin</code>.
Now <code>jupyter notebook</code> is not running. I have tried un-installing and re-installing also.
I have no clue about what should I do now.</p>

<p>Don't install python packages with sudo unless you really know what you're doing.</p>

<p>Try this instead:</p>

<pre><code>$ virtualenv myvenv
$ cd myvenv
$ source bin/activate
$ pip install jupyter
$ jupyter notebook
</code></pre>

<p>To run it the next time (in a new shell session i.e), simply do:</p>

<pre><code>$ cd myvenv
$ source bin/activate
$ jupyter notebook
</code></pre>

python ubuntu jupyter