anaconda / nb_conda_kernels

Package for managing conda environment-based kernels inside of Jupyter
BSD 3-Clause "New" or "Revised" License
599 stars 70 forks source link

Error occurred by clicking 'conda' tab on Jupyter notebook #205

Closed yuskeaita closed 8 months ago

yuskeaita commented 3 years ago

The solution mentioned above did not work for me. Can anyone help me? When I opened "Jupyter notebook" from Anaconda, it successfully opened. Then I clicked 'conda' button, image image

appeared.

(py3) C:\Users\Yusuke>jupyter notebook 
[W 19:57:34.081 NotebookApp] Collisions detected in C:\Users\Yusuke\.jupyter\jupyter_notebook_config.py and C:\Users\Yusuke\.jupyter\jupyter_notebook_config.json config files. C:\Users\Yusuke\.jupyter\jupyter_notebook_config.json has higher priority: {                                                                                                                  "NotebookApp": {                                                                                                          "kernel_spec_manager_class": "'environment_kernels.EnvironmentKernelSpecManager' ignored, using 'nb_conda_kernels.CondaKernelSpecManager'"                                                                                                    }                                                                                                                     }
[I 19:57:36.349 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py
[I 19:57:36.417 NotebookApp] Installed kernelspec conda-root-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py                                                                                                                
[I 19:57:36.424 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py
[I 19:57:36.471 NotebookApp] Installed kernelspec conda-env-py3-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py                                                                                                         
[I 19:57:36.483 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py                                                                                                             
[I 19:57:36.515 NotebookApp] Installed kernelspec conda-env-py36_test-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py    
[I 19:57:36.521 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found  
[W 2021-06-21 19:57:38.673 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`. 
[W 2021-06-21 19:57:38.683 LabApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release. 
[W 2021-06-21 19:57:38.683 LabApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.                                         
[W 2021-06-21 19:57:38.686 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.                
[I 2021-06-21 19:57:38.699 LabApp] JupyterLab extension loaded from C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\jupyterlab                                                                                                             
[I 2021-06-21 19:57:38.699 LabApp] JupyterLab application directory is C:\Users\Yusuke\Anaconda3\envs\py3\share\jupyter\lab                                                                                                                     [I 19:57:38.718 NotebookApp] [nb_conda] enabled                                                                         
[I 19:57:38.726 NotebookApp] Serving notebooks from local directory: C:\Users\Yusuke                                    
[I 19:57:38.726 NotebookApp] Jupyter Notebook 6.2.0 is running at:                                                      
[I 19:57:38.728 NotebookApp] http://localhost:8888/?token=557b6bcb4da2b72a866aa0818a902769b2eb241515203de9   
[I 19:57:38.729 NotebookApp]  or http://127.0.0.1:8888/?token=557b6bcb4da2b72a866aa0818a902769b2eb241515203de9          
[I 19:57:38.730 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).  
[C 19:57:38.841 NotebookApp]                                                                                                                                                                                                                        To access the notebook, open this file in a browser:                                                                        file:///C:/Users/Yusuke/AppData/Roaming/jupyter/runtime/nbserver-9228-open.html
Or copy and paste one of these URLs: 
http://localhost:8888/?token=557b6bcb4da2b72a866aa0818a902769b2eb241515203de9                                        or http://127.0.0.1:8888/?token=557b6bcb4da2b72a866aa0818a902769b2eb241515203de9
[E 19:57:42.988 NotebookApp] Uncaught exception GET /conda/environments?_=1624273061120 (::1) 
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/environments?_=1624273061120', version='HTTP/1.1', remote_ip='::1')                                                                                         
Traceback (most recent call last):
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 1702, in _execute
result = method(*self.path_args, **self.path_kwargs)                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 3173, in wrapper                         
return method(self, *args, **kwargs)                                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\notebook\base\handlers.py", line 782, in wrapper               
return method(self, *args, **kwargs)
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 51, in get                         self.finish(json.dumps(self.env_manager.list_envs()))
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\envmanager.py", line 67, in list_envs
info = self.clean_conda_json(self._execute('conda info --json'))                                                      
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\envmanager.py", line 53, in _execute
output = check_output(cmdline)
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 488, in run                       
with Popen(*popenargs, **kwargs) as process:    
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)                                                                                   
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)                                                              
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。 (The system cannot find the file specified.)                                                
[W 19:57:43.110 NotebookApp] Unhandled error  
E 19:57:43.117 NotebookApp] {                                                                                                "
Host": "localhost:8888",                                                                                               "
Connection": "keep-alive",                                                                                             
"Sec-Ch-Ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"",                           
 "Accept": "application/json, text/javascript, */*; q=0.01",                                                             
"X-Xsrftoken": "2|31626b86|4b9b22e809faaf9c202ef0efb066520e|1621811786",                                                
"X-Requested-With": "XMLHttpRequest",                                                                                   
"Sec-Ch-Ua-Mobile": "?0",                                                                                               
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36",                                                                                                            
"Sec-Fetch-Site": "same-origin",                                                                                        
"Sec-Fetch-Mode": "cors",                                                                                               
"Sec-Fetch-Dest": "empty",                                                                                              
"Referer": "http://localhost:8888/tree",                                                                                
"Accept-Encoding": "gzip, deflate, br",                                                                                 
"Accept-Language": "ja,en;q=0.9,en-US;q=0.8",                                                                           
"Cookie": "_xsrf=2|31626b86|4b9b22e809faaf9c202ef0efb066520e|1621811786; username-localhost-8888=\"2|1:0|10:1624273060|23:username-localhost-8888|44:MTc5YzJkMTJhY2ExNDk0ZDhmZWRlZDgyNGVlMTlkYTI=|8e387ac882126f4cc64b15f191a59358762f02ee2e7d18bfe897504bdc6d4efc\""                                                                                                 }                                                                                                                   [E 19:57:43.117 NotebookApp] 500 GET /conda/environments?_=1624273061120 (::1) 163.420000ms referer=http://localhost:8888/tree                                                                                                                  
[E 19:57:43.140 NotebookApp] Uncaught exception GET /conda/packages/available?_=1624273061121 (::1)                         HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/packages/available?_=1624273061121', version='HTTP/1.1', remote_ip='::1')                                                                                   Traceback (most recent call last):                                                                                        File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 1702, in _execute                        
result = method(*self.path_args, **self.path_kwargs)                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 3173, in wrapper                         
return method(self, *args, **kwargs)                                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\notebook\base\handlers.py", line 782, in wrapper              
 return method(self, *args, **kwargs)                                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 230, in get                        
data = searcher.list_available(self)                                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 213, in list_available             bufsize=4096)                                                                                                         
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 800, in __init__                                        
restore_signals, start_new_session)                                                                                   
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 1207, in _execute_child                                 
startupinfo)                                                                                                        
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。(The system cannot find the file specified.) 
[W 19:57:43.152 NotebookApp] Unhandled error
[E 19:57:43.155 NotebookApp] { 
"Host": "localhost:8888",
"Connection": "keep-alive",
"Sec-Ch-Ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"", 
"Accept": "application/json, text/javascript, */*; q=0.01",
"X-Xsrftoken": "2|31626b86|4b9b22e809faaf9c202ef0efb066520e|1621811786", 
"X-Requested-With": "XMLHttpRequest", 
"Sec-Ch-Ua-Mobile": "?0",                                                                                               
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Safari/537.36",                                                                                                           
"Sec-Fetch-Site": "same-origin",                                                                                        
"Sec-Fetch-Mode": "cors",                                                                                               
"Sec-Fetch-Dest": "empty",                                                                                              
"Referer": "http://localhost:8888/tree",                                                                                
"Accept-Encoding": "gzip, deflate, br",                                                                                 
"Accept-Language": "ja,en;q=0.9,en-US;q=0.8",                                                                           
"Cookie": "_xsrf=2|31626b86|4b9b22e809faaf9c202ef0efb066520e|1621811786; username-localhost-8888=\"2|1:0|10:1624273060|23:username-localhost-8888|44:MTc5YzJkMTJhY2ExNDk0ZDhmZWRlZDgyNGVlMTlkYTI=|8e387ac882126f4cc64b15f191a59358762f02ee2e7d18bfe897504bdc6d4efc\""
                                                                                                } 

I also changed 'jupyter_config.json' file.

{
"JupyterApp": {
"kernel_spec_manager_class": "nb_conda_kernels.CondaKernelSpecManager"
},
"CondaKernelSpecManager": {
"kernelspec_path": "--user"
}

}

These are the versions I have.

And I created 'jupyter_notebook_config.py' and added the sentence below.

c.EnvironmentKernelSpecManager.conda_env_dirs=['C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\python3']

I wrote

python -m ipykernel install --user

but it did not work for me.

This took me two weeks! Thank you!

kevin-bates commented 3 years ago

Hmm. I just noticed something that I didn't dawn on me at the time in https://github.com/jupyter/notebook/issues/4079 and that is that EnvironmentKernelSpecManager is from a different project - similar to nb_conda_kernels. It clearly looks like you're using nb_conda_kernels but I wonder if there's a mixture of settings between these two "custom" kernel spec managers.

Also, you should probably stick with a single source for your configuration and try to eliminate this message:

W 19:57:34.081 NotebookApp] Collisions detected in C:\Users\Yusuke\.jupyter\jupyter_notebook_config.py and C:\Users\Yusuke\.jupyter\jupyter_notebook_config.json config files. C:\Users\Yusuke\.jupyter\jupyter_notebook_config.json has higher priority: {                                                                                                                  "NotebookApp": {                                                                                                          "kernel_spec_manager_class": "'environment_kernels.EnvironmentKernelSpecManager' ignored, using 'nb_conda_kernels.CondaKernelSpecManager'"                                                                                                    }                                                                                                                     }

as this may be leading to some confusion as well.

yuskeaita commented 3 years ago

Thank you, kevin-bates. Is this what you mentioned before? I changed the file name of "jupyter_notebook_config.py".

(py3) C:\Users\Yusuke>jupyter notebook
[I 20:44:39.689 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py                                                                                                                      
[I 20:44:39.726 NotebookApp] Installed kernelspec conda-root-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py
[I 20:44:39.735 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py
[I 20:44:39.776 NotebookApp] Installed kernelspec conda-env-py3-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py
[I 20:44:39.782 NotebookApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py
[I 20:44:39.805 NotebookApp] Installed kernelspec conda-env-py36_test-py in 
 C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py
[I 20:44:39.810 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[W 2021-06-24 20:44:42.581 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`. 
[W 2021-06-24 20:44:42.587 LabApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-06-24 20:44:42.587 LabApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2021-06-24 20:44:42.595 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[I 2021-06-24 20:44:42.599 LabApp] JupyterLab extension loaded from C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\jupyterlab
[I 2021-06-24 20:44:42.599 LabApp] JupyterLab application directory is C:\Users\Yusuke\Anaconda3\envs\py3\share\jupyter\lab                                                                                                                     [I 20:44:42.635 NotebookApp] [nb_conda] enabled
[I 20:44:42.635 NotebookApp] Serving notebooks from local directory: C:\Users\Yusuke
[I 20:44:42.641 NotebookApp] Jupyter Notebook 6.2.0 is running at:
[I 20:44:42.641 NotebookApp] http://localhost:8888/?token=a7fc25eef19be9d909ce626c15a53138533d2bf6c9b881d0
[I 20:44:42.642 NotebookApp]  or http://127.0.0.1:8888/?token=a7fc25eef19be9d909ce626c15a53138533d2bf6c9b881d0
[I 20:44:42.643 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).  
[C 20:44:42.748 NotebookApp] To access the notebook, open this file in a browser: 
file:///C:/Users/Yusuke/AppData/Roaming/jupyter/runtime/nbserver-7268-open.html
Or copy and paste one of these URLs: 
http://localhost:8888/?token=a7fc25eef19be9d909ce626c15a53138533d2bf6c9b881d0                                        or http://127.0.0.1:8888/?token=a7fc25eef19be9d909ce626c15a53138533d2bf6c9b881d0
[E 20:44:56.673 NotebookApp] Uncaught exception GET /conda/environments?_=1624535085080 (::1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/environments?_=1624535085080', version='HTTP/1.1', remote_ip='::1') 
Traceback (most recent call last): 
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 1702, in _execute 
 result = method(*self.path_args, **self.path_kwargs)  
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 3173, in wrapper   
 return method(self, *args, **kwargs)  
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\notebook\base\handlers.py", line 782, in wrapper  
 return method(self, *args, **kwargs)                                                                                  
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 51, in get                         self.finish(json.dumps(self.env_manager.list_envs()))                                                                 
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\envmanager.py", line 67, in list_envs  
info = self.clean_conda_json(self._execute('conda info --json'))                                                      
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\envmanager.py", line 53, in _execute  
output = check_output(cmdline)                                                                                        
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 411, in check_output                                    
**kwargs).stdout                                                                                                      
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 488, in run  
 with Popen(*popenargs, **kwargs) as process:      
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 800, in __init__ 
 restore_signals, start_new_session)   
File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 1207, in _execute_child  
startupinfo)   
FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。 
 [W 20:44:56.758 NotebookApp] Unhandled error 
 [E 20:44:56.765 NotebookApp] {  
 "Host": "localhost:8888",   
 "Connection": "keep-alive",   
 "Sec-Ch-Ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"",  
 "Accept": "application/json, text/javascript, */*; q=0.01",  
 "X-Xsrftoken": "2|286dff78|c2f0043acd69cc0d890801603ba4213a|1624535084",   
 "X-Requested-With": "XMLHttpRequest",   
 "Sec-Ch-Ua-Mobile": "?0",   
 "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36",  
  "Sec-Fetch-Site": "same-origin",  
  "Sec-Fetch-Mode": "cors",   

  "Sec-Fetch-Dest": "empty",   
  "Referer": "http://localhost:8888/tree", 
  "Accept-Encoding": "gzip, deflate, br", 
  "Accept-Language": "ja,en;q=0.9,en-US;q=0.8", 
  "Cookie": "username-localhost-8888=\"2|1:0|10:1624535084|23:username-localhost-8888|44:Y2Q4NzdmYmMwZDllNDM5MGI3MDFhZDBmN2YwMzE3Yjc=|961782eb6f8a0858cc793944fa8577b7d3827de0b7842a6dc92d561e08894cea\"; _xsrf=2|286dff78|c2f0043acd69cc0d890801603ba4213a|1624535084"                                                                                                 }                                                                                                                   
[E 20:44:56.766 NotebookApp] 500 GET /conda/environments?_=1624535085080 (::1) 99.090000ms 
referer=http://localhost:8888/tree                                                    
[E 20:44:56.783 NotebookApp] Uncaught exception GET /conda/packages/available?_=1624535085081 (::1)                         HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/conda/packages/available?_=1624535085081', version='HTTP/1.1', remote_ip='::1')                                                           
 Traceback (most recent call last):   
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 1702, in _execute  
 result = method(*self.path_args, **self.path_kwargs) 
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\tornado\web.py", line 3173, in wrapper 
 return method(self, *args, **kwargs) 
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\notebook\base\handlers.py", line 782, in wrapper 
  return method(self, *args, **kwargs)  
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 230, in get  
  data = searcher.list_available(self) 
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\site-packages\nb_conda\handlers.py", line 213, in list_available             bufsize=4096)                                                                                                       
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 800, in __init__  
 restore_signals, start_new_session)   
 File "C:\Users\Yusuke\Anaconda3\envs\py3\lib\subprocess.py", line 1207, in _execute_child  
 startupinfo)   
 FileNotFoundError: [WinError 2] 指定されたファイルが見つかりません。
 [W 20:44:56.786 NotebookApp] Unhandled error 
 [E 20:44:56.786 NotebookApp] { 
  "Host": "localhost:8888",  
 "Connection": "keep-alive",  
 "Sec-Ch-Ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"91\", \"Chromium\";v=\"91\"", 
 "Accept": "application/json, text/javascript, */*; q=0.01", 
 "X-Xsrftoken": "2|286dff78|c2f0043acd69cc0d890801603ba4213a|1624535084",  
 "X-Requested-With": "XMLHttpRequest",  
 "Sec-Ch-Ua-Mobile": "?0",  
 "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36",  
 "Sec-Fetch-Site": "same-origin", 
 "Sec-Fetch-Mode": "cors",  
 "Sec-Fetch-Dest": "empty", 
 "Referer": "http://localhost:8888/tree",  
 "Accept-Encoding": "gzip, deflate, br",  
"Accept-Language": "ja,en;q=0.9,en-US;q=0.8", 
"Cookie": "username-localhost-8888=\"2|1:0|10:1624535084|23:username-localhost-8888|44:Y2Q4NzdmYmMwZDllNDM5MGI3MDFhZDBmN2YwMzE3Yjc=|961782eb6f8a0858cc793944fa8577b7d3827de0b7842a6dc92d561e08894cea\"; _xsrf=2|286dff78|c2f0043acd69cc0d890801603ba4213a|1624535084"                                                                                                 }  
[E 20:44:56.786 NotebookApp] 500 GET /conda/packages/available?_=1624535085081 (::1) 17.470000ms referer=http://localhost:8888/tree  
kevin-bates commented 3 years ago

There are a few odd things going on. It appears you have a mixture of Lab >= 3 (which uses jupyter_server) vs notebook. I'm curious what is produced if you run jupyter lab --debug. (also, it would be good to add --debug in general when troubleshooting).

I'm hoping someone here knows what's going on with the nb_conda handlers in the traceback. Looks like some executable is not available.

And, yes, it appears as though the mention of EnvironmentKernelSpecManager has been eliminated, so that's a good simplification to resolving this.

yuskeaita commented 3 years ago

Thank you, kevin-bates!

(py3) C:\Users\Yusuke>jupyter lab --debug
[D 2021-06-26 10:54:00.483 ServerApp] Searching ['C:\\Users\\Yusuke', 'C:\\Users\\Yusuke\\.jupyter', 'c:\\users\\yusuke\\anaconda3\\envs\\py3\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
[D 2021-06-26 10:54:00.485 ServerApp] Looking for jupyter_config in C:\ProgramData\jupyter  
[D 2021-06-26 10:54:00.485 ServerApp] Looking for jupyter_config in c:\users\yusuke\anaconda3\envs\py3\etc\jupyter      
[D 2021-06-26 10:54:00.488 ServerApp] Loaded config file: c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\jupyter_config.json                                                                                                                 
[D 2021-06-26 10:54:00.488 ServerApp] Looking for jupyter_config in C:\Users\Yusuke\.jupyter                           
 [D 2021-06-26 10:54:00.489 ServerApp] Loaded config file: C:\Users\Yusuke\.jupyter\jupyter_config.json 
[D 2021-06-26 10:54:00.489 ServerApp] Looking for jupyter_config in C:\Users\Yusuke                                    
 [D 2021-06-26 10:54:00.495 ServerApp] Looking for jupyter_server_config in C:\ProgramData\jupyter                       
[D 2021-06-26 10:54:00.495 ServerApp] Looking for jupyter_server_config in c:\users\yusuke\anaconda3\envs\py3\etc\jupyter  
[D 2021-06-26 10:54:00.496 ServerApp] Looking for jupyter_server_config in C:\Users\Yusuke\.jupyter  
[D 2021-06-26 10:54:00.497 ServerApp] Looking for jupyter_server_config in C:\Users\Yusuke                         
[D 2021-06-26 10:54:00.500 ServerApp] Paths used for configuration of jupyter_server_config:                                    C:\ProgramData\jupyter\jupyter_server_config.json 
[D 2021-06-26 10:54:00.500 ServerApp] Paths used for configuration of jupyter_server_config:   
                                 c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\jupyter_server_config.d\jupyterlab.json  
                                c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\jupyter_server_config.d\nbclassic.json  
                                 c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\jupyter_server_config.json 
[D 2021-06-26 10:54:00.503 ServerApp] Paths used for configuration of jupyter_server_config: 
                                   C:\Users\Yusuke\.jupyter\jupyter_server_config.json 
[W 2021-06-26 10:54:00.510 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.  
[W 2021-06-26 10:54:00.517 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
[W 2021-06-26 10:54:00.526 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.   
[D 2021-06-26 10:54:00.526 LabApp] Config changed: 
{'JupyterApp': {'kernel_spec_manager_class': 'nb_conda_kernels.CondaKernelSpecManager'}, 
'CondaKernelSpecManager':  {'kernelspec_path': '--user'}, '
NotebookApp': {}, 
'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue {'update': {'nbclassic': True}}>}, 
'ExtensionApp': {'log_level': 'DEBUG'}}                                                                                                                
[I 2021-06-26 10:54:00.536 ServerApp] jupyterlab | extension was successfully linked.  
[W 2021-06-26 10:54:00.542 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.      
[W 2021-06-26 10:54:00.546 NotebookApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.  
[W 2021-06-26 10:54:00.547 NotebookApp] 'kernel_spec_manager_class' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.  
[W 2021-06-26 10:54:00.549 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.   
[W 2021-06-26 10:54:00.551 NotebookApp] Config option `kernel_spec_manager_class` not recognized by `NotebookApp`.   
[D 2021-06-26 10:54:00.555 NotebookApp] Config changed: 
{'JupyterApp': {'kernel_spec_manager_class': 'nb_conda_kernels.CondaKernelSpecManager'}, 
'CondaKernelSpecManager': {'kernelspec_path': '--user'}, 
'NotebookApp': {'nbserver_extensions': {'nb_conda': True}}, 
'ServerApp': {'kernel_spec_manager_class': 'nb_conda_kernels.CondaKernelSpecManager', 
'log_level': 'DEBUG', 
'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'nbclassic': True}>}, 
'ExtensionApp': {'log_level': 'DEBUG'}} 
[W 2021-06-26 10:54:00.568 ServerApp] The 'min_open_files_limit' trait of a ServerApp instance expected an int, not the NoneType None.                                                                                                         
[D 2021-06-26 10:54:00.569 ServerApp] Config changed: 
{'ExtensionApp': 
{'log_level': 'DEBUG'}, 
'JupyterApp': {'kernel_spec_manager_class': 'nb_conda_kernels.CondaKernelSpecManager'}, 'CondaKernelSpecManager': {'kernelspec_path': '--user'}, 
'NotebookApp': {'nbserver_extensions': {'nb_conda': True}}, 
'ServerApp': {'kernel_spec_manager_class': 'nb_conda_kernels.CondaKernelSpecManager', 
'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'nbclassic': True}>}}  
 [D 2021-06-26 10:54:00.570 ServerApp] Ignoring min_open_files_limit because the limit cannot be adjusted (for example, on Windows) 

[D 2021-06-26 10:54:00.571 ServerApp] [nb_conda_kernels] Force conda_only=True as kernelspec_path is not None.         
[D 2021-06-26 10:54:00.573 ServerApp] [nb_conda_kernels] refreshing conda info    
 [D 2021-06-26 10:54:02.023 ServerApp] Installing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py  
[I 2021-06-26 10:54:02.958 ServerApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py    
 [I 2021-06-26 10:54:03.013 ServerApp] Installed kernelspec conda-root-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-root-py                                                                                                    
 [D 2021-06-26 10:54:03.018 ServerApp] Installing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py  
 [I 2021-06-26 10:54:03.019 ServerApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py    
[I 2021-06-26 10:54:03.062 ServerApp] Installed kernelspec conda-env-py3-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py3-py       

 [D 2021-06-26 10:54:03.066 ServerApp] Installing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py   

 [I 2021-06-26 10:54:03.067 ServerApp] Removing existing kernelspec in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py  
 [I 2021-06-26 10:54:03.085 ServerApp] Installed kernelspec conda-env-py36_test-py in C:\Users\Yusuke\AppData\Roaming\jupyter\kernels\conda-env-py36_test-py    
 [I 2021-06-26 10:54:03.088 ServerApp] [nb_conda_kernels] enabled, 3 kernels found                                      
[I 2021-06-26 10:54:03.126 LabApp] JupyterLab extension loaded from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\jupyterlab   

[I 2021-06-26 10:54:03.129 LabApp] JupyterLab application directory is C:\Users\Yusuke\Anaconda3\envs\py3\share\jupyter\lab                                                                                                                    
 [I 2021-06-26 10:54:03.132 ServerApp] jupyterlab | extension was successfully loaded.                                  
 [I 2021-06-26 10:54:03.146 ServerApp] nbclassic | extension was successfully loaded.                                   
 [I 2021-06-26 10:54:03.147 ServerApp] Serving notebooks from local directory: C:\Users\Yusuke                          
 [I 2021-06-26 10:54:03.147 ServerApp] Jupyter Server 1.6.1 is running at:                                              
 [I 2021-06-26 10:54:03.148 ServerApp] http://localhost:8888/lab?token=b9d15e5d6a314e25fabda5fd06224019f45f6ecb07f0528c 
[I 2021-06-26 10:54:03.148 ServerApp]     http://127.0.0.1:8888/lab?token=b9d15e5d6a314e25fabda5fd06224019f45f6ecb07f0528c   
  [I 2021-06-26 10:54:03.149 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).   
[C 2021-06-26 10:54:03.264 ServerApp]                                                                                                                                                                                                               To access the server, open this file in a browser:  
file:///C:/Users/Yusuke/AppData/Roaming/jupyter/runtime/jpserver-12016-open.html  
Or copy and paste one of these URLs:  
   http://localhost:8888/lab?token=b9d15e5d6a314e25fabda5fd06224019f45f6ecb07f0528c  
   http://127.0.0.1:8888/lab?token=b9d15e5d6a314e25fabda5fd06224019f45f6ecb07f0528c                               
 [D 2021-06-26 10:54:04.781 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:04.790 ServerApp] Paths used for configuration of page_config:                                              C:\ProgramData\jupyter\labconfig\page_config.json                                                               
[D 2021-06-26 10:54:04.791 ServerApp] Paths used for configuration of page_config:                                              c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\page_config.json                                      
 [D 2021-06-26 10:54:04.793 ServerApp] Paths used for configuration of page_config:                                              C:\Users\Yusuke\.jupyter\labconfig\page_config.json                                                            
 [D 2021-06-26 10:54:04.800 LabApp] Using contents: services/contents                                                  
  [D 2021-06-26 10:54:04.812 LabApp] 200 GET /lab?token=b9d15e5d6a314e25fabda5fd06224019f45f6ecb07f0528c (::1) 32.17ms    
[D 2021-06-26 10:54:04.873 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\remoteEntry.ca1efc27dc965162ca86.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\remoteEntry.ca1efc27dc965162ca86.js   

 [D 2021-06-26 10:54:04.877 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/remoteEntry.ca1efc27dc965162ca86.js (::1) 4.49ms    

 [D 2021-06-26 10:54:05.333 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\638.f3e5e34a28f3334d4f08.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\638.f3e5e34a28f3334d4f08.js  
 [D 2021-06-26 10:54:05.335 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/638.f3e5e34a28f3334d4f08.js (::1) 3.06ms   
 [D 2021-06-26 10:54:05.343 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\243.6c384ff2649ef572a18a.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\243.6c384ff2649ef572a18a.js 
  [D 2021-06-26 10:54:05.344 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/243.6c384ff2649ef572a18a.js (::1) 5.12ms                                                                                             
  [D 2021-06-26 10:54:05.346 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\803.b7b75bd6e7977a648c67.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\803.b7b75bd6e7977a648c67.js 
  [D 2021-06-26 10:54:05.347 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/803.b7b75bd6e7977a648c67.js (::1) 5.43ms 
 [D 2021-06-26 10:54:05.349 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\272.2a8425db7209008188fc.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\272.2a8425db7209008188fc.js  
 [D 2021-06-26 10:54:05.350 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/272.2a8425db7209008188fc.js (::1) 7.73ms  
  [D 2021-06-26 10:54:05.355 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\18.5fbcd9c56ded92ea9df9.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\18.5fbcd9c56ded92ea9df9.js    
 [D 2021-06-26 10:54:05.356 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/18.5fbcd9c56ded92ea9df9.js (::1) 4.41ms                                                                                               
 [D 2021-06-26 10:54:05.357 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\279.aa88a78c8bf62c65db54.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\279.aa88a78c8bf62c65db54.js                                                                                                    
 [D 2021-06-26 10:54:05.359 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/279.aa88a78c8bf62c65db54.js (::1) 6.13ms                                                                                             
  [D 2021-06-26 10:54:05.359 ServerApp] Path @jupyter-widgets\jupyterlab-manager\static\523.fa256ee012d38a89b65a.js served from c:\users\yusuke\anaconda3\envs\py3\share\jupyter\labextensions\@jupyter-widgets\jupyterlab-manager\static\523.fa256ee012d38a89b65a.js                                                                                                    
 [D 2021-06-26 10:54:05.361 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/523.fa256ee012d38a89b65a.js (::1) 7.19ms                                                                                              
 [D 2021-06-26 10:54:05.489 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:05.492 ServerApp] 200 GET /api/kernelspecs?1624672445486 (::1) 3.05ms                             
  [D 2021-06-26 10:54:05.495 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:05.497 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                                
 [D 2021-06-26 10:54:05.498 ServerApp] Paths used for configuration of default_setting_overrides:                                c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                       
  [D 2021-06-26 10:54:05.500 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                             
  [D 2021-06-26 10:54:05.639 LabApp] 200 GET /lab/api/settings?1624672445491 (::1) 144.56ms                             
  [D 2021-06-26 10:54:05.642 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:05.643 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:05.644 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:05.645 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:05.648 ServerApp] 200 GET /api/kernelspecs?1624672445518 (::1) 6.37ms                             
  [D 2021-06-26 10:54:05.650 ServerApp] 200 GET /api/terminals?1624672445506 (::1) 7.60ms                                
 [D 2021-06-26 10:54:05.654 ServerApp] 200 GET /api/kernels?1624672445500 (::1) 9.55ms                                  
 [D 2021-06-26 10:54:05.657 ServerApp] 200 GET /api/sessions?1624672445504 (::1) 12.28ms                                
 [D 2021-06-26 10:54:06.735 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:07.979 ServerApp] 200 GET /lab/api/translations/en?1624672446728 (::1) 1245.15ms                   
 [D 2021-06-26 10:54:07.994 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:08.000 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:08.003 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                                
 [D 2021-06-26 10:54:08.003 ServerApp] Paths used for configuration of default_setting_overrides:                                c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                        
 [D 2021-06-26 10:54:08.004 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                              
 [D 2021-06-26 10:54:09.122 ServerApp] 200 GET /lab/api/translations/?1624672447998 (::1) 1122.52ms                    
 [W 2021-06-26 10:54:09.129 LabApp] Could not determine jupyterlab build status without nodejs                           
[D 2021-06-26 10:54:09.132 LabApp] 200 GET /lab/api/build?1624672447993 (::1) 1137.73ms                                
 [D 2021-06-26 10:54:09.138 ServerApp] Path @jupyterlab\theme-light-extension\index.css served from C:\Users\Yusuke\Anaconda3\envs\py3\share\jupyter\lab\themes\@jupyterlab\theme-light-extension\index.css                                     
 [D 2021-06-26 10:54:09.140 ServerApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (::1) 10.19ms 
 [D 2021-06-26 10:54:09.143 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:09.144 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:09.145 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:09.147 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                               
  [D 2021-06-26 10:54:09.148 ServerApp] Paths used for configuration of default_setting_overrides:                                c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                        
 [D 2021-06-26 10:54:09.149 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                              
 [D 2021-06-26 10:54:09.151 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:11.096 ServerApp] 200 GET /api/nbconvert?1624672448071 (::1) 1953.70ms                             
 [D 2021-06-26 10:54:11.099 ServerApp] 200 GET /lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1624672448012 (::1) 1955.08ms   

 [D 2021-06-26 10:54:11.108 LabApp] 200 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1624672448170 (::1) 1962.56ms                                                                                                          
  [D 2021-06-26 10:54:12.652 ServerApp] 200 GET /api/nbconvert?1624672448038 (::1) 3501.33ms                             
 [D 2021-06-26 10:54:12.657 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:12.660 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                               
  [D 2021-06-26 10:54:12.662 ServerApp] Paths used for configuration of default_setting_overrides:   
 c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                       
  [D 2021-06-26 10:54:12.664 ServerApp] Paths used for configuration of default_setting_overrides:  
  C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                             
  [D 2021-06-26 10:54:12.671 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1624672448171 (::1) 14.81ms    
  [D 2021-06-26 10:54:12.673 ServerApp] Accepting token-authenticated connection from ::1                 
 [D 2021-06-26 10:54:12.676 LabApp] 200 GET /lab/api/workspaces/default?1624672451198 (::1) 3.87ms                    
   [D 2021-06-26 10:54:12.692 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:12.694 ServerApp] 200 GET /api/contents/Untitled23.ipynb?content=0&1624672452689 (::1) 3.01ms     
  [D 2021-06-26 10:54:12.695 ServerApp] Accepting token-authenticated connection from ::1                              
   [D 2021-06-26 10:54:12.699 ServerApp] Paths used for configuration of default_setting_overrides:    
                            C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                                
 [D 2021-06-26 10:54:12.700 ServerApp] Paths used for configuration of default_setting_overrides:                                c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                        
 [D 2021-06-26 10:54:12.701 ServerApp] Paths used for configuration of default_setting_overrides:                                C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                              
 [D 2021-06-26 10:54:12.703 LabApp] 200 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1624672452690 (::1) 8.52ms                                                                                                               
[D 2021-06-26 10:54:12.831 ServerApp] Path components\MathJax\MathJax.js served from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\notebook\static\components\MathJax\MathJax.js  
 [D 2021-06-26 10:54:12.832 ServerApp] 304 GET /static/notebook/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&amp;delayStartupUntil=configured (::1) 2.61ms 

[D 2021-06-26 10:54:12.842 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:12.842 ServerApp] Paths used for configuration of default_setting_overrides: 
                               C:\ProgramData\jupyter\labconfig\default_setting_overrides.json                                                
 [D 2021-06-26 10:54:12.850 ServerApp] Paths used for configuration of default_setting_overrides:  
                              c:\users\yusuke\anaconda3\envs\py3\etc\jupyter\labconfig\default_setting_overrides.json                       
  [D 2021-06-26 10:54:12.852 ServerApp] Paths used for configuration of default_setting_overrides: 
                               C:\Users\Yusuke\.jupyter\labconfig\default_setting_overrides.json                                             
  [D 2021-06-26 10:54:12.971 LabApp] 200 GET /lab/api/settings?1624672452840 (::1) 128.09ms                             
  [D 2021-06-26 10:54:12.974 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:13.027 ServerApp] 200 GET /api/contents/Untitled23.ipynb?type=notebook&content=1&1624672452848 (::1) 54.10ms                                                                                                               
 [D 2021-06-26 10:54:13.028 ServerApp] Accepting token-authenticated connection from ::1                               
 [D 2021-06-26 10:54:13.099 ServerApp] 200 GET /api/contents?content=1&1624672452878 (::1) 71.94ms                      
 [D 2021-06-26 10:54:13.102 ServerApp] Path components\MathJax\config\TeX-AMS-MML_HTMLorMML-full.js served from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\notebook\static\components\MathJax\config\TeX-AMS-MML_HTMLorMML-full.js     
[D 2021-06-26 10:54:13.103 ServerApp] 304 GET /static/notebook/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js?V=2.7.9 (::1) 2.31ms                                                                                                    
 [D 2021-06-26 10:54:13.120 ServerApp] Accepting token-authenticated connection from ::1    
 [D 2021-06-26 10:54:13.122 ServerApp] 200 GET /api/contents/Untitled23.ipynb/checkpoints?1624672453119 (::1) 2.00ms    
[D 2021-06-26 10:54:13.125 ServerApp] Accepting token-authenticated connection from ::1                               
[D 2021-06-26 10:54:13.126 ServerApp] 200 GET /api/contents/Untitled23.ipynb/checkpoints?1624672453120 (::1) 1.99ms    
[D 2021-06-26 10:54:13.133 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:13.135 ServerApp] 200 GET /api/contents/Untitled23.ipynb/checkpoints?1624672453132 (::1) 2.28ms    
 [D 2021-06-26 10:54:13.223 ServerApp] Path components\MathJax\config\Safe.js served from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\notebook\static\components\MathJax\config\Safe.js                                                
 [D 2021-06-26 10:54:13.224 ServerApp] 304 GET /static/notebook/components/MathJax/config/Safe.js?V=2.7.9 (::1) 1.99ms  
 [D 2021-06-26 10:54:13.240 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:13.240 ServerApp] 200 GET /api/sessions?1624672453238 (::1) 0.75ms                                
  [D 2021-06-26 10:54:13.248 ServerApp] Path components\MathJax\extensions\Safe.js served from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\notebook\static\components\MathJax\extensions\Safe.js                                        
 [D 2021-06-26 10:54:13.249 ServerApp] 304 GET /static/notebook/components/MathJax/extensions/Safe.js?V=2.7.9 (::1) 1.12ms                                                                                                                       
 [D 2021-06-26 10:54:13.288 ServerApp] Path components\MathJax\jax\output\HTML-CSS\fonts\STIX-Web\fontdata.js served from c:\users\yusuke\anaconda3\envs\py3\lib\site-packages\notebook\static\components\MathJax\jax\output\HTML-CSS\fonts\STIX-Web\fontdata.js  
 [D 2021-06-26 10:54:13.289 ServerApp] 304 GET /static/notebook/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?V=2.7.9 (::1) 1.75ms                                                                                          
 [D 2021-06-26 10:54:13.402 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:13.410 LabApp] 204 PUT /lab/api/workspaces/default?1624672453396 (::1) 9.26ms                      
 [D 2021-06-26 10:54:13.425 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:13.430 ServerApp] 200 GET /api/contents/Untitled23.ipynb?content=0&1624672453418 (::1) 6.83ms      
 [D 2021-06-26 10:54:13.464 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:13.546 ServerApp] 200 GET /api/contents?content=1&1624672453460 (::1) 81.68ms                      
 [D 2021-06-26 10:54:13.564 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:13.566 ServerApp] 200 GET /api/contents/Untitled23.ipynb?content=0&1624672453483 (::1) 3.36ms      
 [D 2021-06-26 10:54:13.604 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:13.687 ServerApp] 200 GET /api/contents?content=1&1624672453603 (::1) 82.69ms                      
 [D 2021-06-26 10:54:13.696 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:13.699 ServerApp] 200 GET /api/contents/Untitled23.ipynb?content=0&1624672453693 (::1) 2.77ms      
 [D 2021-06-26 10:54:13.761 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:13.831 ServerApp] 200 GET /api/contents?content=1&1624672453758 (::1) 69.95ms                      
 [D 2021-06-26 10:54:15.765 ServerApp] Accepting token-authenticated connection from ::1                                
 [D 2021-06-26 10:54:15.766 ServerApp] 200 GET /api/terminals?1624672455759 (::1) 1.99ms                                
 [D 2021-06-26 10:54:15.769 ServerApp] Accepting token-authenticated connection from ::1                               
  [D 2021-06-26 10:54:15.771 ServerApp] 200 GET /api/kernels?1624672455761 (::1) 1.99ms 

Then, the message below appeared.

image

Is this what you metioned?

kevin-bates commented 3 years ago

Are there other options listed in the dropdown list? This is showing the kernel option associated with your base conda environment. Is that the conda environment in which you want your kernel to run?

In the Jupyter Lab launcher, you should see a tile for all of your conda envs, plus tiles corresponding to other configured kernels: image

fcollonval commented 3 years ago

@yuskeaita the feature you want to use is related to this package. If you want to manage your conda environments. I suggest you give a try to gator. :warning: it has integration with the classical notebook up to v4. Starting from v5, you could still manage your conda environments but either from JupyterLab or from a standalone tool.

mcg1969 commented 8 months ago

Indeed, this looks like an issue with nb_conda and not nb_conda_kernels. I agree with @fcollonval 's suggestion about gator, which is a great package.