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

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

    I tried both,

    pip install jupyter
    

    and

    pip3 install jupyter
    

    but finally got it done using

    sudo -H pip install jupyter
    

    execute a command as another user -H

    The -H (HOME) option requests that the security policy set the HOME environment variable to the home directory of the target user (root by default) as specified by the password database. Depending on the policy, this may be the default behavior.

提交回复
热议问题