美文网首页
ubuntu 14.04 安装jupyter

ubuntu 14.04 安装jupyter

作者: dap2erp | 来源:发表于2018-06-25 11:35 被阅读0次

    在ubuntu 14.04 安装jupyter的时候一直报错:

    Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately 
    determine which files belong to it which would lead to only a partial uninstall.
    

    具体原因如下:
    jupyter依赖six这个包,但是系统也依赖了这个包,如果下载新的就必须卸载旧版本的,但是系统又依赖于旧版本,所以就没有办法卸载,最终导致报错。

    感谢穷开心y的分析

    最终解决方法如下,在安装的时候忽略six:

    sudo python3 -m pip install -U jupyter --ignore-installed six
    

    相关文章

      网友评论

          本文标题:ubuntu 14.04 安装jupyter

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