无法使用python 3安装Jupyter

时间:2017-06-26 21:32:30

标签: jupyter

在尝试安装Jupyter时,我收到以下错误:

jupyter@lamp-nlu-java:~$ sudo pip3 install jupyter
Downloading/unpacking jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Downloading/unpacking notebook (from jupyter)
Downloading notebook-5.0.0-py2.py3-none-any.whl (6.9MB): 6.9MB downloaded
Downloading/unpacking ipywidgets (from jupyter)
Downloading ipywidgets-6.0.0-py2.py3-none-any.whl (46kB): 46kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2482, in _dep_map
return self.__dep_map
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2344, in __getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map

这是什么意思?以及如何解决它?

1 个答案:

答案 0 :(得分:1)

1)尝试升级pip,然后尝试安装jupyter。

2)获得jupyter笔记本的另一个最佳方法是安装Anaconda。 Anaconda有jupyter和许多其他包你可以使用。