pip install jupyter
2017-04-19 08:32
363 查看
(1)
fans@fans-desktop:/usr/local/bin$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python3/dist-packages
Cleaning up...
fans@fans-desktop:/usr/local/bin$ pip install jupyter
Downloading/unpacking jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Downloading/unpacking ipykernel (from jupyter)
Downloading ipykernel-4.5.2-py2.py3-none-any.whl (98kB): 98kB downloaded
Downloading/unpacking qtconsole (from jupyter)
Downloading qtconsole-4.2.1-py2.py3-none-any.whl (104kB): 104kB downloaded
Downloading/unpacking jupyter-console (from jupyter)
Downloading jupyter_console-5.1.0-py2.py3-none-any.whl
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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2508, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2573, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'widgetsnbextension ~=2.0.0', 'at', ' ~=2.0.0')
Storing debug log for failure in /home/fans/.pip/pip.log
solution:
pip install --upgrade pip
pip install jupyter
(2) TypeError: __call__() takes exactly 2 arguments (1 given)
fans@fans-desktop:/usr/local/bin$ pip install requests
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python3/dist-packages
Cleaning up...
fans@fans-desktop:/usr/local/bin$ pip install jupyter
Downloading/unpacking jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Downloading/unpacking ipykernel (from jupyter)
Downloading ipykernel-4.5.2-py2.py3-none-any.whl (98kB): 98kB downloaded
Downloading/unpacking qtconsole (from jupyter)
Downloading qtconsole-4.2.1-py2.py3-none-any.whl (104kB): 104kB downloaded
Downloading/unpacking jupyter-console (from jupyter)
Downloading jupyter_console-5.1.0-py2.py3-none-any.whl
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
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1266, in prepare_files
req_to_install.extras):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2291, in requires
dm = self._dep_map
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2484, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2508, in _compute_dependencies
parsed = next(parse_requirements(distvers))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2573, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', 'widgetsnbextension ~=2.0.0', 'at', ' ~=2.0.0')
Storing debug log for failure in /home/fans/.pip/pip.log
solution:
pip install --upgrade pip
pip install jupyter
(2) TypeError: __call__() takes exactly 2 arguments (1 given)
pip install setuptools==33.1.1
相关文章推荐
- pip install jupyter 常见出错的解决方案
- pip3 install jupyter出现错误
- pycharm中使用jupyter notebook——利用pip安装jupyter
- 在Jupyter notebook里使用conda和pip
- 在安装jupyter notebook过程中遇到pip升级问题,如照片所示,请问如何解决,跪谢
- jupyter install problems for python2.7
- Mac 中卸载anaconda使用pip安装jupyter notebook
- Install iTorch: torch in jupyter
- setup pip, PyMySQL,Jupyter in python 3.3
- Python用pip安装IPython/Jupyter最佳交互环境
- Jupyter Notebook通过pip安装python模块
- 用windows浏览器打开Linux的Jupyter notebook开发、调试示例
- 如何安装Jupyter Notebook
- pip install的时候遇到编码错误
- 在centos7 下安装Anaconda 启动jupyter notebook
- pip install在Windows下报错解决
- Jupyter Notebook的27个秘诀,技巧和快捷键
- jupyter notebook手册
- 执行pip安装其他模块时,提示Unknown or unsupported command 'install'
- jupyter notebook 添加python3 kernel