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

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

    On Mac OS you need to export ~/.local/bin inside your $PATH variable.

    # Edit the bash profile:
    $ vim ~/.bash_profile
    
    # Add this line inside ~/.bash_profile:
    export PATH=$PATH:~/.local/bin
    
    # Update the source:
    $ source ~/.bash_profile
    
    # Open Jupyter:
    $ jupyter notebook
    

提交回复
热议问题