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

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

    The only thing that worked me is to export to PATH the Python version that is related to the pip3 of course :) (after a lot of struggling) just run:

    which pip3
    

    you should get something like (in Mac):

    /Library/Frameworks/Python.framework/Versions/3.6/bin/pip3
    

    Now run:

    export PATH=/Library/Python/3.6/bin:$PATH
    

    If it works for you :) just add it to your bashrc or zshrc

提交回复
热议问题