Ubuntu14.04下pip安装jupyter报错,提示MARKER

    xiaoxiao2021-04-18  63

    装完caffe之后想跑一下demo,需要使用jupyter notebook。使用pip安装jupyter报错

    提示:

    MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker") TypeError: __call__() takes exactly 2 arguments (1 given)

    错误截图:

    找了好久才找到解决办法。

    解决办法:

    由于apt-get安装的pip版本过低,所以需要对pip进行升级,并且还需要安装setuptools,执行以下命令。

    python -m pip install --upgrade --force pip pip install setuptools==33.1.1 完成之后再次执行命令

    sudo pip install jupyter 就可以安装并使用jupyter notebook了。

    转载请注明原文地址: https://ju.6miu.com/read-675642.html

    最新回复(0)