pip install jupter -user 使用这个命令安jupter时出现以下错误:
ERROR: Could not find a version that satisfies the requirement jupter (from versions: none)
ERROR: No matching distribution found for jupter
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
pip install --upgrade pip 我又使用这个命令更新了一下pip
Successfully installed pip-19.3.1
然后再用pip时 却这样了:
Traceback (most recent call last):
File "/usr/local/bin/pip", line 11, in <module>
sys.exit(main())
TypeError: 'module' object is not callable
我把服务器关闭后又重新打开 pip 又起作用了(我自己都惊呆了,解决了版本升级pip不能用的问题)
接着,重新来安装 jupter notebook
还是 报错!!!!
解决问题
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install jupyter-notebook
来安装
于是 我切换了root用户
pip就能用了