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

前端 未结 24 1148
名媛妹妹
名媛妹妹 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:51

    Execute this in Terminal

    export PATH=~/anaconda3/bin:$PATH
    

    Worked for me on Ubuntu 16.10, Python3, Anaconda3

    UPDATE

    Add path in your ~/.bashrc or ~/.zshrc(if you are using zsh bash) file

    vi ~/.bashrc
    

    add the below line to the file

    PATH=~/path/to/anaconda:$PATH
    

    Close the file with

    esc + : + wq
    

提交回复
热议问题