After installing with pip, “jupyter: command not found”

前端 未结 24 1142
名媛妹妹
名媛妹妹 2020-12-04 06:35

After installing with pip install jupyter, terminal still cannot find jupyter notebook.

Ubuntu simply says command not found

24条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 06:49

    To be able to run jupyter notebook from terminal, you need to make sure that ~/.local/bin is in your path.

    Do this by running export PATH=$PATH:~/.local/bin for your current session, or adding that line to the end of ~/.bashrc to make your changes last for future sessions (e.g. by using nano ~/.bashrc). If you edit ~/.bashrc you will need to log out and log back in to make see your changes take effect.

提交回复
热议问题