jupyterlab-desktop
jupyterlab-desktop copied to clipboard
Jupyter Server Initialization Failed
I downloaded JupyterLab by following the recommended options and steps. When I launched the application, this showed:
I tried launching the application again but the issue persisted. I uninstalled both the application and the server application and installed it again, but the same thing happened.
More information:
- Operating System and version: Windows 10 Pro (21H2) (Build 19044.1415)
- JupyterLab-Desktop version: 3.2.5-2
- Installer: .exe
Here is the log: main.log
I hope this issue can be resolved soon as I cannot wait to try out this amazing application!
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
Thank you for reporting this issue. The log file includes the following:
[2021-12-23 20:46:54.243] [info] Jupyter Server initialization message: Traceback (most recent call last):
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\__init__.py", line 7, in <module>
from .labapp import LabApp
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\labapp.py", line 15, in <module>
from jupyter_server.serverapp import flags
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\serverapp.py", line 42, in <module>
from jupyter_server.utils import run_sync_in_loop, urljoin, pathname2url
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\utils.py", line 23, in <module>
from tornado.httpclient import AsyncHTTPClient
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\tornado\httpclient.py", line 42, in <module>
import ssl
File "C:\JupyterLab\resources\jlab_server\lib\ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed while importing _ssl: The specified module could not be found.
It looks like OpenSSL DLL issue on your Windows installation. This might happen when anaconda is installed locally rather than globally (did you install JupyterLab Desktop for all users, or just for you?), when DLLs are missing or not in path.
Could you please check if the workaround of copying the DLL as described in https://github.com/ContinuumIO/anaconda-issues/issues/11994 solves this issue for you? If yes, we could add a script to do that during installation.
Another issue is that we need to allow opening links to GitHub because it looks the button "Report issue" gets:
[2021-12-23 21:05:50.748] [warn] Navigation is not allowed; attempted navigation to: https://github.com/login?return_to=%2Fjupyterlab%2Fjupyterlab-desktop%2Fissues%2Fnew
I downloaded it just for me. I will check out the link later. Thanks!
Thank you for reporting this issue. The log file includes the following:
[2021-12-23 20:46:54.243] [info] Jupyter Server initialization message: Traceback (most recent call last): File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 111, in _get_module_details __import__(pkg_name) File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\__init__.py", line 7, in <module> from .labapp import LabApp File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\labapp.py", line 15, in <module> from jupyter_server.serverapp import flags File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\serverapp.py", line 42, in <module> from jupyter_server.utils import run_sync_in_loop, urljoin, pathname2url File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\utils.py", line 23, in <module> from tornado.httpclient import AsyncHTTPClient File "C:\JupyterLab\resources\jlab_server\lib\site-packages\tornado\httpclient.py", line 42, in <module> import ssl File "C:\JupyterLab\resources\jlab_server\lib\ssl.py", line 98, in <module> import _ssl # if we can't import it, let the error propagate ImportError: DLL load failed while importing _ssl: The specified module could not be found.
It looks like OpenSSL DLL issue on your Windows installation. This might happen when anaconda is installed locally rather than globally (did you install JupyterLab Desktop for all users, or just for you?), when DLLs are missing or not in path.
Could you please check if the workaround of copying the DLL as described in ContinuumIO/anaconda-issues#11994 solves this issue for you? If yes, we could add a script to do that during installation.
Another issue is that we need to allow opening links to GitHub because it looks the button "Report issue" gets:
[2021-12-23 21:05:50.748] [warn] Navigation is not allowed; attempted navigation to: https://github.com/login?return_to=%2Fjupyterlab%2Fjupyterlab-desktop%2Fissues%2Fnew
I encountered exactly the same issue. This is a workaround except that you also need to copy libcrypto-1_1-x64.dll
.
The same issue happened when importing sqlite3.
Therefore, I just copy every .dll file under [env path]/Library/bin
to [env path]/DLLs
to save time.
Thank you for the tips! I’ll try this workaround later.
Windows 10 Home version 21H2.
Unable to start jupyterlab.
A window is displayed.
Such a log remains in main.log.
[2022-01-03 15:35:20.077] [info] Logging to file (C:\Users******\AppData\Roaming\jupyterlab-desktop\logs\main.log) at 'false' level
[2022-01-03 15:35:20.128] [error] (node:1080) DeprecationWarning: findLogPath() is deprecated and will be removed in v5.
(Use JupyterLab --trace-deprecation ...
to show where the warning was created)
[2022-01-03 15:35:22.236] [error] (node:1080) electron: The default of nativeWindowOpen is deprecated and will be changing from false to true in Electron 15. See https://github.com/electron/electron/issues/28511 for more information.
I will try this.
Thank you for reporting this issue. The log file includes the following:
[2021-12-23 20:46:54.243] [info] Jupyter Server initialization message: Traceback (most recent call last): File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 144, in _get_module_details return _get_module_details(pkg_main_name, error) File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 111, in _get_module_details __import__(pkg_name) File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\__init__.py", line 7, in <module> from .labapp import LabApp File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\labapp.py", line 15, in <module> from jupyter_server.serverapp import flags File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\serverapp.py", line 42, in <module> from jupyter_server.utils import run_sync_in_loop, urljoin, pathname2url File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\utils.py", line 23, in <module> from tornado.httpclient import AsyncHTTPClient File "C:\JupyterLab\resources\jlab_server\lib\site-packages\tornado\httpclient.py", line 42, in <module> import ssl File "C:\JupyterLab\resources\jlab_server\lib\ssl.py", line 98, in <module> import _ssl # if we can't import it, let the error propagate ImportError: DLL load failed while importing _ssl: The specified module could not be found.
It looks like OpenSSL DLL issue on your Windows installation. This might happen when anaconda is installed locally rather than globally (did you install JupyterLab Desktop for all users, or just for you?), when DLLs are missing or not in path. Could you please check if the workaround of copying the DLL as described in ContinuumIO/anaconda-issues#11994 solves this issue for you? If yes, we could add a script to do that during installation. Another issue is that we need to allow opening links to GitHub because it looks the button "Report issue" gets:
[2021-12-23 21:05:50.748] [warn] Navigation is not allowed; attempted navigation to: https://github.com/login?return_to=%2Fjupyterlab%2Fjupyterlab-desktop%2Fissues%2Fnew
I encountered exactly the same issue. This is a workaround except that you also need to copy
libcrypto-1_1-x64.dll
. The same issue happened when importing sqlite3. Therefore, I just copy every .dll file under[env path]/Library/bin
to[env path]/DLLs
to save time.
I do not know where the DLL file is.
I do not know where the DLL file is.
What about C:\JupyterLab\resources\jlab_server\Library\bin
? You would need to copy it to C:\JupyterLab\resources\jlab_server\DLLs
.
I don't have a Windows at hand, but it should be about it.
This issue has been mentioned on Jupyter Community Forum. There might be relevant details there:
https://discourse.jupyter.org/t/how-to-solve-jupyter-server-initialization-failed/12469/2
Tried the suggested solution, same error – log now reports:
ImportError: DLL load failed while importing error: The specified module could not be found.
Landing here after an upgrade. I chose to install JupyerLabDesktop on a different disk. Now apparently the python stuff was install on the other disk (F:
) but the Jupyter stuff was still installed on C:
? Why's that. When I tell him to use the bundled python he says he can't find it under C:\JupyterLabe\resources\...
, when I select the python.exe
that was installed under F:
I get the exact same screen as the OP.
Btw, the "report issue" should not pop open a browser window within Jupyter but just trigger the default browser. It doesn't even have an address bar such that I could copy the URL :/
/edit: tried to use the exact same install locations as before but 3.2.5-2
won't work any more. Uninstalled and installed a couple times. Cannot use the bundled version for whatever reason and when I select the bundled python manually Jupyter starts but the kernel doesn't.
The only debug information I can find is
WebSocket connection to 'ws://localhost:8888/api/kernels/81c701f6-d136-44ed-b7cb-2370bf29b278/channels?session_id=443bfc0b-7813-4494-9756-2802983b5ee4' failed: WebSocket is closed before the connection is established.
/edit2: now the server app won't show up in the windows uninstall screen anymore ...
/edit3: rolled back to 3.2.4-3
- this one's still working
Hey guys, I have the same issue. I've spent hours today going through github and all these threads. I've copied all the dlls to the folders you mentioned and still the same error. My log is attached. Appreciate if someone can help me out. Running windows 11.
FYI I'm a beginner at coding so please explain what to do step by step :)
Thanks.
I'm facing the same issue.
[2022-01-18 17:32:44.278] [info] Jupyter Server initialization message: Traceback (most recent call last):
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\JupyterLab\resources\jlab_server\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\__init__.py", line 7, in <module>
from .labapp import LabApp
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyterlab\labapp.py", line 15, in <module>
from jupyter_server.serverapp import flags
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\serverapp.py", line 42, in <module>
from jupyter_server.utils import run_sync_in_loop, urljoin, pathname2url
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\jupyter_server\utils.py", line 23, in <module>
from tornado.httpclient import AsyncHTTPClient
File "C:\JupyterLab\resources\jlab_server\lib\site-packages\tornado\httpclient.py", line 42, in <module>
import ssl
File "C:\JupyterLab\resources\jlab_server\lib\ssl.py", line 98, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: DLL load failed while importing _ssl: The specified module could not be found.
The workaround that copying libcrypto-1_1-x64.dll
from C:\JupyterLab\resources\jlab_server\Library\bin
to C:\JupyterLab\resources\jlab_server\DLLs
is not working for me.
Yep, the DLL move fix isn't working for me either...
I'm getting a similar issue. I gave it an installation path of D:\JupyterLab instead of the C drive and I'm getting the Error: Jupyter Server process terminated before the initialization completed error. I noticed when it tried to find python.exe it defaulted to a path on the C drive anyway. It also couldn't accept a Python 3.10 executable either.
I encountered the same problem, after a conda update. With a clean install it is working.
So the issue is that python has its internal search path (sys.path
) where it looks for modules. Additionally when using binary packages that load DLL files on Windows a different search is started. Here as one of the paths searched are all the entries in the environment variable PATH
(accessible e.g., via os.environ['PATH']
):
C:\JupyterLab\resources\jlab_server>python
Python 3.8.12 | packaged by conda-forge | (default, Oct 12 2021, 21:22:46) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ['PATH']
[does not contain Library\bin]
This by default does not contain the Library\bin
subdirectory where the DLL files are located. When using the underlying conda machinery, i.e. activate.bat
in the Scripts directory, then this directory is explicitly added to PATH
.
So before the fix (https://github.com/jupyterlab/jupyterlab-desktop/pull/404) is released one can manually run in the command line the activate batch file followed by starting jupyterlab:
C:\JupyterLab>.\resources\jlab_server\Scripts\activate.bat
(base) C:\JupyterLab>JupyterLab
Same problem with v3.2.9-1 on Ubuntu 21.10 after fresh install (followed uninstall instructions) and a custom venv (which worked in prev. version of jlab
).
main.log
:
[2022-03-01 13:35:30.574] [warn] Error: Jupyter Server process terminated before the initialization completed
at ChildProcess.<anonymous> (/opt/JupyterLab/resources/app.asar/build/out/main/server.js:205:28)
at ChildProcess.emit (node:events:394:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
Works with bundled python env though.
env.yaml
:
name: puma-lab
channels:
- pyviz
- conda-forge
- defaults
dependencies:
- _libgcc_mutex=0.1=conda_forge
- _openmp_mutex=4.5=1_gnu
- abseil-cpp=20210324.2=h9c3ff4c_0
- alsa-lib=1.2.3=h516909a_0
- anyio=3.5.0=py38h578d9bd_0
- aom=3.3.0=h27087fc_1
- aplus=0.11.0=py_1
- argon2-cffi=21.3.0=pyhd8ed1ab_0
- argon2-cffi-bindings=21.2.0=py38h497a2fe_1
- arrow-cpp=7.0.0=py38hdbd6c21_2_cpu
- asgiref=3.5.0=pyhd8ed1ab_0
- astropy=5.0.1=py38h6c62de6_0
- asttokens=2.0.5=pyhd8ed1ab_0
- attrs=21.4.0=pyhd8ed1ab_0
- aws-c-cal=0.5.11=h95a6274_0
- aws-c-common=0.6.2=h7f98852_0
- aws-c-event-stream=0.2.7=h3541f99_13
- aws-c-io=0.10.5=hfb6a706_0
- aws-checksums=0.1.11=ha31a3da_7
- aws-sdk-cpp=1.8.186=hb4091e7_3
- babel=2.9.1=pyh44b312d_0
- backcall=0.2.0=pyh9f0ad1d_0
- backports=1.0=py_2
- backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0
- backports.zoneinfo=0.2.1=py38h497a2fe_4
- black=22.1.0=pyhd8ed1ab_0
- blake3=0.2.1=py38ha8db356_0
- bleach=4.1.0=pyhd8ed1ab_0
- blosc=1.21.0=h9c3ff4c_0
- bokeh=2.4.2=py38h578d9bd_0
- bqplot=0.12.33=pyhd8ed1ab_0
- branca=0.4.2=pyhd8ed1ab_0
- brotli=1.0.9=h7f98852_6
- brotli-bin=1.0.9=h7f98852_6
- brotlipy=0.7.0=py38h497a2fe_1003
- brunsli=0.1=h9c3ff4c_0
- bzip2=1.0.8=h7f98852_4
- c-ares=1.18.1=h7f98852_0
- c-blosc2=2.0.4=h5f21a17_1
- ca-certificates=2021.10.8=ha878542_0
- cached-property=1.5.2=hd8ed1ab_1
- cached_property=1.5.2=pyha770c72_1
- cachetools=5.0.0=pyhd8ed1ab_0
- certifi=2021.10.8=py38h578d9bd_1
- cffi=1.15.0=py38h3931269_0
- cfitsio=4.0.0=h9a35b8e_0
- charls=2.3.4=h9c3ff4c_0
- charset-normalizer=2.0.12=pyhd8ed1ab_0
- click=8.0.4=py38h578d9bd_0
- clickhouse-cityhash=1.0.2.3=py38h709712a_3
- clickhouse-driver=0.2.3=py38h497a2fe_0
- cloudpickle=2.0.0=pyhd8ed1ab_0
- colorama=0.4.4=pyh9f0ad1d_0
- colorcet=3.0.0=pyhd8ed1ab_0
- commonmark=0.9.1=py_0
- cramjam=2.5.0=py38ha8db356_0
- cryptography=36.0.0=py38h9ce1e76_0
- cycler=0.11.0=pyhd8ed1ab_0
- cytoolz=0.11.2=py38h497a2fe_1
- dask=2021.10.0=pyhd8ed1ab_0
- dask-core=2021.10.0=pyhd3eb1b0_0
- dataclasses=0.8=pyhc8e2a94_3
- datashader=0.13.0=pyh6c4a22f_0
- datashape=0.5.4=py_1
- dbus=1.13.6=h5008d03_3
- debugpy=1.5.1=py38h709712a_0
- decorator=5.1.1=pyhd8ed1ab_0
- defusedxml=0.7.1=pyhd8ed1ab_0
- distributed=2021.10.0=py38h06a4308_0
- entrypoints=0.4=pyhd8ed1ab_0
- executing=0.8.3=pyhd8ed1ab_0
- expat=2.4.6=h27087fc_0
- fastapi=0.74.0=pyhd8ed1ab_0
- fastparquet=0.8.0=py38h6c62de6_1
- filelock=3.6.0=pyhd8ed1ab_0
- flit-core=3.7.1=pyhd8ed1ab_0
- font-ttf-dejavu-sans-mono=2.37=hab24e00_0
- font-ttf-inconsolata=3.000=h77eed37_0
- font-ttf-source-code-pro=2.038=h77eed37_0
- font-ttf-ubuntu=0.83=hab24e00_0
- fontconfig=2.13.96=ha180cfb_0
- fonts-conda-ecosystem=1=0
- fonts-conda-forge=1=0
- fonttools=4.29.1=py38h497a2fe_0
- freetype=2.10.4=h0708190_1
- frozendict=2.3.0=py38h497a2fe_1
- fsspec=2022.2.0=pyhd8ed1ab_0
- future=0.18.2=py38h578d9bd_4
- geos=3.10.2=h9c3ff4c_0
- gettext=0.19.8.1=h73d1719_1008
- gflags=2.2.2=he1b5a44_1004
- giflib=5.2.1=h36c2ea0_2
- gitdb=4.0.9=pyhd8ed1ab_0
- gitpython=3.1.27=pyhd8ed1ab_0
- glog=0.5.0=h48cff8f_0
- grpc-cpp=1.43.2=h9e046d8_1
- gst-plugins-base=1.18.5=hf529b03_3
- gstreamer=1.18.5=h9f60fe5_3
- h11=0.12.0=pyhd8ed1ab_0
- h5py=3.6.0=nompi_py38hfbb2109_100
- hdf5=1.12.1=nompi_h2750804_103
- heapdict=1.0.1=py_0
- holoviews=1.14.8=py_0
- hvplot=0.7.3=py_0
- icu=69.1=h9c3ff4c_0
- idna=3.3=pyhd8ed1ab_0
- imagecodecs=2022.2.22=py38h58c7917_0
- imageio=2.16.1=pyhcf75d05_0
- importlib-metadata=4.11.2=py38h578d9bd_0
- importlib_metadata=4.11.2=hd8ed1ab_0
- importlib_resources=5.4.0=pyhd8ed1ab_0
- ipydatawidgets=4.2.0=pyhd3deb0d_0
- ipykernel=6.9.1=py38he5a9106_0
- ipyleaflet=0.15.0=pyhd8ed1ab_3
- ipympl=0.8.8=pyhd8ed1ab_0
- ipython=8.0.1=py38h578d9bd_2
- ipython_genutils=0.2.0=py_1
- ipyvolume=0.6.0a8=pyhd8ed1ab_0
- ipyvue=1.7.0=pyhd8ed1ab_0
- ipyvuetify=1.8.2=pyhd8ed1ab_0
- ipywebrtc=0.6.0=pyhd8ed1ab_0
- ipywidgets=7.6.5=pyhd8ed1ab_0
- jbig=2.1=h7f98852_2003
- jedi=0.18.1=py38h578d9bd_0
- jinja2=3.0.3=pyhd8ed1ab_0
- jpeg=9e=h7f98852_0
- json5=0.9.5=pyh9f0ad1d_0
- jsonschema=4.4.0=pyhd8ed1ab_0
- jupyter-server-mathjax=0.2.5=pyhc268e32_0
- jupyter_client=7.1.2=pyhd8ed1ab_0
- jupyter_contrib_core=0.3.3=py_2
- jupyter_contrib_nbextensions=0.5.1=pyhd8ed1ab_2
- jupyter_core=4.9.2=py38h578d9bd_0
- jupyter_highlight_selected_word=0.2.0=py38h578d9bd_1005
- jupyter_latex_envs=1.4.6=pyhd8ed1ab_1002
- jupyter_nbextensions_configurator=0.4.1=pyhd8ed1ab_2
- jupyter_server=1.13.5=pyhd8ed1ab_1
- jupyterlab=3.2.9=pyhd8ed1ab_0
- jupyterlab-git=0.34.2=pyhd8ed1ab_0
- jupyterlab_execute_time=2.1.0=pyhd8ed1ab_0
- jupyterlab_pygments=0.1.2=pyh9f0ad1d_0
- jupyterlab_server=2.10.3=pyhd8ed1ab_0
- jupyterlab_widgets=1.0.2=pyhd8ed1ab_0
- jxrlib=1.1=h7f98852_2
- kiwisolver=1.3.2=py38h1fd1430_1
- krb5=1.19.2=hcc1bbae_3
- lcms2=2.12=hddcbb42_0
- ld_impl_linux-64=2.36.1=hea4e1c9_2
- lerc=3.0=h9c3ff4c_0
- libaec=1.0.6=h9c3ff4c_0
- libavif=0.9.3=h166bdaf_1
- libblas=3.9.0=13_linux64_openblas
- libbrotlicommon=1.0.9=h7f98852_6
- libbrotlidec=1.0.9=h7f98852_6
- libbrotlienc=1.0.9=h7f98852_6
- libcblas=3.9.0=13_linux64_openblas
- libclang=13.0.1=default_hc23dcda_0
- libcrc32c=1.1.2=h9c3ff4c_0
- libcurl=7.81.0=h2574ce0_0
- libdeflate=1.10=h7f98852_0
- libedit=3.1.20191231=he28a2e2_2
- libev=4.33=h516909a_1
- libevent=2.1.10=h9b69904_4
- libffi=3.4.2=h7f98852_5
- libgcc-ng=11.2.0=h1d223b6_12
- libgfortran-ng=11.2.0=h69a702a_12
- libgfortran5=11.2.0=h5c6108e_12
- libglib=2.70.2=h174f98d_4
- libgomp=11.2.0=h1d223b6_12
- libgoogle-cloud=1.35.0=h6945097_2
- libiconv=1.16=h516909a_0
- liblapack=3.9.0=13_linux64_openblas
- libllvm10=10.0.1=he513fc3_3
- libllvm13=13.0.1=hf817b99_2
- libnghttp2=1.47.0=h727a467_0
- libnsl=2.0.0=h7f98852_0
- libogg=1.3.4=h7f98852_1
- libopenblas=0.3.18=pthreads_h8fe5266_0
- libopus=1.3.1=h7f98852_1
- libpng=1.6.37=h21135ba_2
- libpq=14.2=hd57d9b9_0
- libprotobuf=3.19.4=h780b84a_0
- libsodium=1.0.18=h36c2ea0_1
- libssh2=1.10.0=ha56f1ee_2
- libstdcxx-ng=11.2.0=he4da1e4_12
- libta-lib=0.4.0=h516909a_0
- libthrift=0.15.0=he6d91bd_1
- libtiff=4.3.0=h542a066_3
- libutf8proc=2.7.0=h7f98852_0
- libuuid=2.32.1=h7f98852_1000
- libvorbis=1.3.7=h9c3ff4c_0
- libwebp=1.2.2=h3452ae3_0
- libwebp-base=1.2.2=h7f98852_1
- libxcb=1.13=h7f98852_1004
- libxkbcommon=1.0.3=he3ba5ed_0
- libxml2=2.9.12=h885dcf4_1
- libxslt=1.1.33=h0ef7038_3
- libzlib=1.2.11=h36c2ea0_1013
- libzopfli=1.0.3=h9c3ff4c_0
- llvmlite=0.36.0=py38h4630a5e_0
- locket=0.2.0=py_2
- lxml=4.8.0=py38hf1fe3a4_0
- lz4-c=1.9.3=h9c3ff4c_1
- markdown=3.3.6=pyhd8ed1ab_0
- markupsafe=2.1.0=py38h0a891b7_0
- matplotlib=3.5.1=py38h578d9bd_0
- matplotlib-base=3.5.1=py38hf4fb855_0
- matplotlib-inline=0.1.3=pyhd8ed1ab_0
- mistune=0.8.4=py38h497a2fe_1005
- msgpack-python=1.0.3=py38h1fd1430_0
- multipledispatch=0.6.0=py_0
- munkres=1.1.4=pyh9f0ad1d_0
- mypy_extensions=0.4.3=py38h578d9bd_4
- mysql-common=8.0.28=ha770c72_0
- mysql-libs=8.0.28=hfa10184_0
- nb_conda_kernels=2.3.1=py38h578d9bd_1
- nbclassic=0.3.5=pyhd8ed1ab_0
- nbclient=0.5.11=pyhd8ed1ab_0
- nbconvert=6.4.2=py38h578d9bd_0
- nbdime=3.1.1=pyhd8ed1ab_0
- nbformat=5.1.3=pyhd8ed1ab_0
- ncurses=6.3=h9c3ff4c_0
- nest-asyncio=1.5.4=pyhd8ed1ab_0
- networkx=2.7=pyhd8ed1ab_0
- notebook=6.4.8=pyha770c72_0
- nspr=4.32=h9c3ff4c_1
- nss=3.74=hb5efdd6_0
- numba=0.53.1=py38h8b71fd7_1
- numpy=1.22.2=py38h6ae9a64_0
- openjpeg=2.4.0=hb52868f_1
- openssl=1.1.1l=h7f98852_0
- orc=1.7.3=h1be678f_0
- packaging=21.3=pyhd8ed1ab_0
- pandas=1.4.1=py38h43a58ef_0
- pandoc=2.17.1.1=ha770c72_0
- pandocfilters=1.5.0=pyhd8ed1ab_0
- panel=0.12.6=py_0
- param=1.12.0=pyh6c4a22f_0
- parquet-cpp=1.5.1=2
- parso=0.8.3=pyhd8ed1ab_0
- partd=1.2.0=pyhd8ed1ab_0
- pathspec=0.9.0=pyhd8ed1ab_0
- patsy=0.5.2=pyhd8ed1ab_0
- pcre=8.45=h9c3ff4c_0
- pexpect=4.8.0=pyh9f0ad1d_2
- pickleshare=0.7.5=py_1003
- pillow=9.0.1=py38h0ee0e06_2
- pip=22.0.3=pyhd8ed1ab_0
- platformdirs=2.5.1=pyhd8ed1ab_0
- progressbar2=4.0.0=pyhd8ed1ab_0
- prometheus_client=0.13.1=pyhd8ed1ab_0
- prompt-toolkit=3.0.27=pyha770c72_0
- psutil=5.9.0=py38h497a2fe_0
- pthread-stubs=0.4=h36c2ea0_1001
- ptyprocess=0.7.0=pyhd3deb0d_0
- pure_eval=0.2.2=pyhd8ed1ab_0
- pyarrow=7.0.0=py38he7e5f7d_2_cpu
- pycparser=2.21=pyhd8ed1ab_0
- pyct=0.4.6=py_0
- pyct-core=0.4.6=py_0
- pydantic=1.9.0=py38h497a2fe_0
- pyerfa=2.0.0.1=py38h6c62de6_1
- pygments=2.11.2=pyhd8ed1ab_0
- pykalman=0.9.5=py_1
- pyopenssl=22.0.0=pyhd8ed1ab_0
- pyparsing=3.0.7=pyhd8ed1ab_0
- pyqt=5.12.3=py38h578d9bd_8
- pyqt-impl=5.12.3=py38h0ffb2e6_8
- pyqt5-sip=4.19.18=py38h709712a_8
- pyqtchart=5.12=py38h7400c14_8
- pyqtwebengine=5.12.1=py38h7400c14_8
- pyrsistent=0.18.1=py38h497a2fe_0
- pysocks=1.7.1=py38h578d9bd_4
- python=3.8.12=ha38a3c6_3_cpython
- python-dateutil=2.8.2=pyhd8ed1ab_0
- python-tzdata=2021.5=pyhd8ed1ab_0
- python-utils=3.1.0=pyhd8ed1ab_0
- python_abi=3.8=2_cp38
- pythreejs=2.3.0=pyhd8ed1ab_0
- pytz=2021.3=pyhd8ed1ab_0
- pytz-deprecation-shim=0.1.0.post0=py38h578d9bd_1
- pyviz_comms=2.1.0=py_0
- pywavelets=1.2.0=py38h6c62de6_1
- pyyaml=6.0=py38h497a2fe_3
- pyzmq=22.3.0=py38h2035c66_1
- qt=5.12.9=ha98a1a1_5
- re2=2022.02.01=h9c3ff4c_0
- readline=8.1=h46c0cb4_0
- requests=2.27.1=pyhd8ed1ab_0
- rich=11.2.0=pyhd8ed1ab_0
- s2n=1.0.10=h9b69904_0
- scikit-image=0.19.2=py38h43a58ef_0
- scipy=1.8.0=py38h56a6a73_1
- send2trash=1.8.0=pyhd8ed1ab_0
- setuptools=60.9.3=py38h578d9bd_0
- shapely=1.8.0=py38h596eeab_5
- six=1.16.0=pyh6c4a22f_0
- smmap=3.0.5=pyh44b312d_0
- snappy=1.1.8=he1b5a44_3
- sniffio=1.2.0=py38h578d9bd_2
- sortedcontainers=2.4.0=pyhd8ed1ab_0
- sqlite=3.37.0=h9cd32fc_0
- stack_data=0.2.0=pyhd8ed1ab_0
- starlette=0.17.1=pyhd8ed1ab_0
- statsmodels=0.13.2=py38h6c62de6_0
- ta-lib=0.4.19=py38h6c62de6_3
- tabulate=0.8.9=pyhd8ed1ab_0
- tblib=1.7.0=pyhd8ed1ab_0
- terminado=0.13.1=py38h578d9bd_0
- testpath=0.6.0=pyhd8ed1ab_0
- tifffile=2022.2.9=pyhd8ed1ab_0
- tk=8.6.12=h27826a3_0
- tomli=2.0.1=pyhd8ed1ab_0
- toolz=0.11.2=pyhd8ed1ab_0
- tornado=6.1=py38h497a2fe_2
- tqdm=4.63.0=pyhd8ed1ab_0
- traitlets=5.1.1=pyhd8ed1ab_0
- traittypes=0.2.1=pyh9f0ad1d_2
- typed-ast=1.5.2=py38h497a2fe_0
- typing-extensions=4.1.1=hd8ed1ab_0
- typing_extensions=4.1.1=pyha770c72_0
- tzdata=2021e=he74cb21_0
- tzlocal=4.1=py38h578d9bd_1
- unicodedata2=14.0.0=py38h497a2fe_0
- urllib3=1.26.8=pyhd8ed1ab_1
- uvicorn=0.17.5=py38h578d9bd_0
- vaex=4.8.0=pyhd8ed1ab_0
- vaex-astro=0.9.0=pyhd8ed1ab_0
- vaex-core=4.8.0=py38hdaa53af_0
- vaex-hdf5=0.12.0=pyhd8ed1ab_0
- vaex-jupyter=0.7.0=pyhd8ed1ab_0
- vaex-ml=0.17.0=pyhd8ed1ab_0
- vaex-server=0.8.1=pyhd8ed1ab_0
- vaex-viz=0.5.1=pyhd8ed1ab_0
- wcwidth=0.2.5=pyh9f0ad1d_2
- webencodings=0.5.1=py_1
- websocket-client=1.3.1=pyhd8ed1ab_0
- wheel=0.37.1=pyhd8ed1ab_0
- widgetsnbextension=3.5.2=py38h578d9bd_1
- xarray=0.21.1=pyhd8ed1ab_0
- xorg-libxau=1.0.9=h7f98852_0
- xorg-libxdmcp=1.1.3=h7f98852_0
- xyzservices=2022.2.0=pyhd8ed1ab_0
- xz=5.2.5=h516909a_1
- yaml=0.2.5=h7f98852_2
- zeromq=4.3.4=h9c3ff4c_1
- zfp=0.5.5=h9c3ff4c_8
- zict=2.1.0=pyhd8ed1ab_0
- zipp=3.7.0=pyhd8ed1ab_1
- zlib=1.2.11=h36c2ea0_1013
- zstandard=0.17.0=py38h497a2fe_0
- zstd=1.5.2=ha95c52a_0
- pip:
- aiohttp==3.8.1
- aiohttp-cors==0.7.0
- aioredis==1.3.1
- aiosignal==1.2.0
- async-timeout==4.0.2
- blessed==1.19.1
- colorful==0.5.4
- deprecated==1.2.13
- frozenlist==1.3.0
- google-api-core==2.5.0
- google-auth==2.6.0
- googleapis-common-protos==1.55.0
- gpustat==1.0.0b1
- grpcio==1.44.0
- hiredis==2.0.0
- lckr-jupyterlab-variableinspector==3.0.9
- multidict==6.0.2
- nvidia-ml-py3==7.352.0
- opencensus==0.8.0
- opencensus-context==0.1.2
- protobuf==3.19.4
- py-spy==0.3.11
- pyasn1==0.4.8
- pyasn1-modules==0.2.8
- ray==1.10.0
- redis==4.1.4
- rsa==4.8
- smart-open==5.2.1
- wrapt==1.13.3
- yarl==1.7.2
I am having the same problem on a computer with Linux Mint 20.3 Una (base Ubuntu LTS 20.04). This problem happened after I killed some Jupyter processes that were still running in the background after I closed the jupyterlab-desktop app. I thought there was some problem with the processes that were running in the background because they were still running after closing the app and they were using a great piece of my RAM, so I decided to eliminate them. But when I tried to open again the environment that was running at the time I got this error:
[2022-03-02 18:04:37.445] [warn] Error: Jupyter Server process terminated before the initialization completed
at ChildProcess.<anonymous> (/opt/JupyterLab/resources/app.asar/build/out/main/server.js:205:28)
at ChildProcess.emit (node:events:394:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
I'll try to analyze if it happens with different environments and if I can find the root of this problem.
I created another Conda environment and tried to launch the app in that environment. It worked well in the first use, but after closing the app and trying to reopen I had the same error message again. So I believe that eliminating the processes wasn't the reason for the problem before.
3.2.9-1
seems to work fine again
Could someone Ps support me with the resolution of this issue, I updated jupyterlab from v3.3.2-1 to v3.3.2-2 and haven't been able to launch jupyterlab anymore. The following error screen pops up. I have also attached a copy of my log file to clarify the issue.
Thanks in advance.
@Okaforemeka Are you trying to open it on an extern environment or the default bundled environment?
Hi @anaximeno, thanks for reaching out. I am using the default bundled environment.
@Okaforemeka did you uninstall JLab before installing the new version? If not, try to uninstall and then reinstall the new version.
@anaximeno yes I did, Its not my first time updating jupyterlab successfully. However im surprised I now get the same error when I go reinstall the the previous version (v3.3.2-1 ). Not sure why this strange error.
I'd like to add that on MacOS I do not receive this error when launching the app by clicking the app icon. If I launch from the terminal, however, ie. jlab
, then I get the error in the OP.
To solve this I had to deactivate conda
and then run jlab
, so this is issue may be environment based, at least partially.
I deactivated conda but still get the same error screen.
My log file also gets updated with the same repeat error lines below:
[2022-04-01 23:12:56.134] [info] In production mode
[2022-04-01 23:12:56.137] [info] Logging to file (C:\Users\Okaforemeka\AppData\Roaming\jupyterlab-desktop\logs\main.log) at 'false' level
[2022-04-01 23:12:56.178] [error] (node:13776) DeprecationWarning: findLogPath() is deprecated and will be removed in v5.
(Use JupyterLab --trace-deprecation ...
to show where the warning was created)
[2022-04-01 23:13:00.190] [warn] Error: Jupyter Server process terminated before the initialization completed
at ChildProcess.
Support is kindly requested.
closing this. please retry with the latest version as there were many enhancements since these issues reported. create a new issue if needed.