使用 pip 安装 JupyterLab
Installing JupyterLab using pip
我正在尝试使用 pip install jupyterlab 在我的 windows 系统上安装 JupyterLab,但出现如下所示的错误:
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\base_command.py", line 224, in _main
status = self.run(options, args)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\req_command.py", line 180, in wrapper
return func(self, options, args)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\install.py", line 320, in run
requirement_set = resolver.resolve(
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 445, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 344, in resolve
success = self._backtrack()
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 287, in _backtrack
criterion = self.state.criteria[name].excluded_of([candidate])
AttributeError: 'NoneType' object has no attribute 'excluded_of'
可能是什么原因?
latest Python release at the time of writing is 3.9.1,但您似乎正在尝试使用 Python 3.10:
C:\Users\asus\AppData\Local\Programs\Python\Python310\
这一定是某种预发行版。我建议您尝试使用稳定版本。
要下载打开终端并输入:
pip install jupyterlab
打开类型:
jupyter-lab
我正在尝试使用 pip install jupyterlab 在我的 windows 系统上安装 JupyterLab,但出现如下所示的错误:
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\base_command.py", line 224, in _main
status = self.run(options, args)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\cli\req_command.py", line 180, in wrapper
return func(self, options, args)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\commands\install.py", line 320, in run
requirement_set = resolver.resolve(
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_internal\resolution\resolvelib\resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 445, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 344, in resolve
success = self._backtrack()
File "C:\Users\asus\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 287, in _backtrack
criterion = self.state.criteria[name].excluded_of([candidate])
AttributeError: 'NoneType' object has no attribute 'excluded_of'
可能是什么原因?
latest Python release at the time of writing is 3.9.1,但您似乎正在尝试使用 Python 3.10:
C:\Users\asus\AppData\Local\Programs\Python\Python310\
这一定是某种预发行版。我建议您尝试使用稳定版本。
要下载打开终端并输入:
pip install jupyterlab
打开类型:
jupyter-lab