I already have python3/ipython3 (and notebook) installed. So I followed the instructions, and I did:
$ pip3 install jupyter
And it seems to have succeeded. But at nothing seems installed (at least not in my PATH):
$ jupyter
jupyter: command not found
$ python3 jupyter
python3: can't open file 'jupyter': [Errno 2] No such file or directory
$ ipython3 jupyter
[TerminalIPythonApp] WARNING | File not found: 'jupyter'
$ ipython jupyter
[TerminalIPythonApp] WARNING | File not found: u'jupyter'
Sorry, I'm a noob when it comes to the python installation details, I'm certainly missing something obvious, but I can't find it in the docs.
Any help would be much appreciated!! :)
Jupyter Notebook is replacing IPython Notebook as the most commonly used web-based interactive computational environment for creating IPython notebooks.
Starting in Ubuntu 17.04 Jupyter Notebook can be installed directly from the default Ubuntu repositories (sudo apt install jupyter-notebook jupyter-core python-ipykernel
in Ubuntu 17.04 and 17.10). python-ipykernel is necessary for running Python 2.x programs in Jupyter Notebook, which otherwise supports only Python 3.x.
Open the terminal and type:
sudo apt install jupyter-notebook jupyter
Open the terminal and type:
sudo apt install python3-notebook jupyter jupyter-core python-ipykernel
python-ipykernel is necessary for running Python 2.x programs in Jupyter Notebook, which otherwise supports only Python 3.x.
To start the notebook server run the following command:
jupyter notebook
You should see Jupyter Notebook open in your web browser.
The following instructions are for installing Jupyter Notebook in Ubuntu 14.04→16.10. The default version of Python in Ubuntu works OK, but pip needs to be updated to the latest version.
sudo apt update
sudo apt -y install python-pip python-dev
sudo -H pip install --upgrade pip
sudo apt -y install ipython ipython-notebook
pip install --user jupyter
To start the notebook server run the following command:
jupyter notebook
You should see Jupyter Notebook open in your web browser.
If you also have python-matplotlib installed, the first line of code to enable plotting in the current Notebook is %matplotlib inline
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With