Reputation: 393
I am trying to install JupyterLab on my windows system using pip install jupyterlab, but I am getting an error as shown below:
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'
what might be the reason?
Upvotes: 1
Views: 3729
Reputation: 25
To download open terminal and type:
pip install jupyterlab
To open type:
jupyter-lab
Upvotes: 1
Reputation: 136870
The latest Python release at the time of writing is 3.9.1, but it looks like you are trying to use Python 3.10:
C:\Users\asus\AppData\Local\Programs\Python\Python310\
This must be a pre-release of some sort. I suggest you try using a stable release instead.
Upvotes: 1