Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ipython3 - no module named notebook

I have installed ipython3 and ipython3-notebook on my Ubuntu 14.04 machine.

The command 'ipython3' opens up an ipython instance in the console, running Python 3.4 as expected.

However when I try to get to the browser version using

ipython3 notebook

I get an "ImportError: No module named 'notebook'"

I tried re-installing ipython3-notebook but got the message "ipython3-notebook is already the newest version."

What am I missing here?

like image 219
Thom Rogers Avatar asked Dec 24 '22 14:12

Thom Rogers


2 Answers

Try this:

pip install jupyter

or

easy_install jupyter
like image 57
Randomazer Avatar answered Jan 17 '23 10:01

Randomazer


It looks like pip takes the default version of the python (in my case it was python2.7).

So, I tried installing pip3 for python3,

sudo apt install python3-pip

and install jupyter using pip3,

pip3 install jupyter

and worked like a charm!

like image 44
Yogaraj Avatar answered Jan 17 '23 09:01

Yogaraj