美文网首页
jupyter notebook 找不到命令

jupyter notebook 找不到命令

作者: momo1023 | 来源:发表于2020-02-28 09:31 被阅读0次

    使用 pip install jupyter 安装 jupyter 后启动 jupyter notebook 报错:

    $ jupyter notebook
    Traceback (most recent call last):
      File "/usr/local/bin/jupyter", line 8, in <module>
        sys.exit(main())
      File "/usr/local/lib/python3.7/site-packages/jupyter_core/command.py", line 247, in main
        command = _jupyter_abspath(subcommand)
      File "/usr/local/lib/python3.7/site-packages/jupyter_core/command.py", line 134, in _jupyter_abspath
        'Jupyter command `{}` not found.'.format(jupyter_subcommand)
    Exception: Jupyter command `jupyter-notebook` not found.
    

    解决方法:
    强制重新安装

    pip install --upgrade --force-reinstall --no-cache-dir jupyter
    

    相关文章

      网友评论

          本文标题:jupyter notebook 找不到命令

          本文链接:https://www.haomeiwen.com/subject/ygrkhhtx.html