Issues with Jupyter Notebook installation

As much as I hate saying this, I agree with you on re-installing. I hate saying it because of the amount of times I’ve done it myself! I guess on the bright side, at least now you get JP4.4.1?

As for Jupyter Install, yes there is very specific order to installing. From fresh, this is the order (At least this is what I’ve done to produce stable results):

Make sure you’ve first run all udpates:

$ sudo apt install updates && sudo apt install upgrades
  1. Install node.js using the link as discussed

  2. Install the following packages:

$ sudo apt install -y libffi-dev

And then

$ sudo apt install -y libssl1.0-dev
  1. Update / Install the following packages
$ sudo apt install python3-numpy python3-scipy python3-matplotlib
  1. Install python3-pip
$ sudo apt install -y python3.pip
  1. Install Jupyter Lab:
    First, export your path:
$ export PATH="$HOME/.local/bin:$PATH"

Next, install Jupyter this way:

$ pip3 install --user jupyterlab
  1. Configure Jupyter and set password (in case you want to run it remotely, using SSH)

To configure:

$ jupyter notebook --generate-config

Set up password:

$ jupyter notebook password

Hope that helps you with the next install.

Cheers!

5 Likes