Unable to install/load jupyter using anaconda

Viewed 64

I was unable to open my previous version of jupyter, so I deleted and uninstalled anaconda completely before re-installing it on ubuntu using:

bash Anaconda3-2021.05-Linux-x86_64.sh

However, I'm unable to launch jupyter notebook using:

jupyter notebook

Error code:

-bash: /home/melissachua/.local/bin/jupyter: /home/melissachua/anaconda3/envs/scenic_protocol/bin/python: bad interpreter: No such file or directory

I tried to use pip3 install jupyter but got the same error.

1 Answers

use jupyter notebook through cmd instead if there's no issue with that. You can install through pip:

$pip3 install jupyter

Note that you have added python and pip to path.

Then you can start jupyter notebook server like:

$jupyter notebook

OR

$python3 -m jupyter notebook
Related