Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter Lab hangs on startup and then 'tcgetpgrp failed: Not a tty' appears (in WSL2) #10413

Closed
NicoJG opened this issue Jun 14, 2021 · 10 comments
Labels
status:Answered The issue has been answered by a community member. status:Closing as Answered The issue will be closed soon as answered unless there is further follow-up.

Comments

@NicoJG
Copy link

NicoJG commented Jun 14, 2021

Description

In short: Jupyter Lab (and Jupyter Notebook) needs a long time to start. And opens it in the browser far to late (after a tcgetpgrp failed: Not a tty error). (in WSL2 with Ubuntu)

What happens:

  • It hangs while starting after the message Use Control-C to stop this server and shut down all kernels (twice to skip confirmation)..
  • Then for a few minutes there is no following output in the terminal.
  • Then To access the server, open this file in a browser: ... shows up and I can access Jupyter Lab (and Notebook) in the browser. But it does not open automatically.
  • After a few minutes (of usage or no usage) an error pops up in the terminal reading tcgetpgrp failed: Not a tty and the browser opens a new tab with Jupyter Lab.

A few things I noticed:

  • when using $ jupyter lab --no-browser everything works perfectly fine (Edited)
  • when interrupting the terminal with Ctrl+C it does not interrupt, but starts the server immediatly. But the tcgetpgrp failed: Not a tty still pops up after a few minutes and opens a new browser tab.
  • when I actually interrupt the terminal with double Ctrl+C a Python error shows up and it stops the server. But strangely tcgetpgrp failed: Not a tty still pops up after a few minutes and is just printed in the terminal. Even though jupyter is closed minutes ago. It also opens the browser but the connection could not be established since no jupyter server is running.
  • I previously had the issue that no browser would open. I fixed this by writing c.NotebookApp.use_redirect_file = False in the ~/.jupyter/jupyter_notebook_config.py. But the tcgetpgrp failed: Not a tty still popped up and I just ignored it. The long waiting is the thing that annoys me now. This fix worked for many people I helped setting up WSL, but I always just ignored the error.
  • I have this issue for about a week now and I don't know what triggered the issue to appear suddenly. I think a clean Anaconda install fixed it for a few hours or a day.

Reproduce

  • Install WSL2 and Ubuntu on it
  • (maybe use Windows Terminal and zsh, but I expect this to not be necessary for reproduction)
  • Install Anaconda in Ubuntu
  • $ jupyter notebook --generate-config
  • insert c.NotebookApp.use_redirect_file = False in ~/.jupyter/jupyter_notebook_config.py
  • start Jupyter Lab (or Notebook) via jupyter lab from anywhere
  • test around with waiting, Ctrl+C and double Ctrl+C

Expected behavior

Well after $ jupyter lab or $ jupyter notebook it should start the server and open the browser in a few seconds.

Context

  • Operating System and version: WSL2 (Ubuntu 20.04) in Windows 10
  • Browser and version: Firefox 89.0 in Windows
  • JupyterLab version: 3.0.14
$ jupyter --version
jupyter core     : 4.7.1
jupyter-notebook : 6.4.0
qtconsole        : 5.1.0
ipython          : 7.22.0
ipykernel        : 5.3.4
jupyter client   : 6.1.12
jupyter lab      : 3.0.14
nbconvert        : 6.0.7
ipywidgets       : 7.6.3
nbformat         : 5.1.3
traitlets        : 5.0.5
Troubleshoot Output
$PATH:
        /home/nico/.local/texlive/2020/bin/x86_64-linux
        /home/nico/.local/anaconda3/bin
        /home/nico/.local/anaconda3/condabin
        /home/nico/bin
        /usr/local/bin
        /usr/local/sbin
        /usr/local/bin
        /usr/sbin
        /usr/bin
        /sbin
        /bin
        /usr/games
        /usr/local/games
        /mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath
        /mnt/c/Program Files/Python38/Scripts
        /mnt/c/Program Files/Python38
        /mnt/c/Windows/system32
        /mnt/c/Windows
        /mnt/c/Windows/System32/Wbem
        /mnt/c/Windows/System32/WindowsPowerShell/v1.0
        /mnt/c/Windows/System32/OpenSSH
        /mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common
        /mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR
        /mnt/c/WINDOWS/system32
        /mnt/c/WINDOWS
        /mnt/c/WINDOWS/System32/Wbem
        /mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0
        /mnt/c/WINDOWS/System32/OpenSSH
        /mnt/c/Program Files/dotnet
        /mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn
        /mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn
        /mnt/c/Program Files (x86)/osmosis/bin
        /mnt/c/Users/Nico/AppData/Local/Microsoft/WindowsApps
        /mnt/c/Users/Nico/AppData/Local/Programs/Microsoft VS Code/bin
        /mnt/c/Program Files/mingw-w64/x86_64-8.1.0-posix-seh-rt_v6-rev0/mingw64/bin
        /mnt/c/Users/Nico/.dotnet/tools
        /home/nico/.fzf/bin

sys.path:
/home/nico/.local/anaconda3/bin
/home/nico/.local/anaconda3/lib/python38.zip
/home/nico/.local/anaconda3/lib/python3.8
/home/nico/.local/anaconda3/lib/python3.8/lib-dynload
/home/nico/.local/anaconda3/lib/python3.8/site-packages
/home/nico/.local/anaconda3/lib/python3.8/site-packages/locket-0.2.1-py3.8.egg

sys.executable:
/home/nico/.local/anaconda3/bin/python

sys.version:
3.8.8 (default, Apr 13 2021, 19:58:26)
[GCC 7.3.0]

platform.platform():
Linux-4.19.128-microsoft-standard-x86_64-with-glibc2.10

which -a jupyter:
/home/nico/.local/anaconda3/bin/jupyter

pip list:
Package Version Location
---------------------------------- ------------------- --------------------------------
alabaster 0.7.12
anaconda-client 1.7.2
anaconda-navigator 2.0.3
anaconda-project 0.10.0
anyio 2.2.0
appdirs 1.4.4
argh 0.26.2
argon2-cffi 20.1.0
asn1crypto 1.4.0
astroid 2.5.8
astropy 4.2.1
async-generator 1.10
atomicwrites 1.4.0
attrs 21.2.0
autopep8 1.5.6
Babel 2.9.1
backcall 0.2.0
backports.functools-lru-cache 1.6.4
backports.shutil-get-terminal-size 1.0.0
backports.tempfile 1.0
backports.weakref 1.0.post1
beautifulsoup4 4.9.3
bitarray 2.1.0
bkcharts 0.2
black 19.10b0
bleach 3.3.0
bokeh 2.3.2
boto 2.49.0
Bottleneck 1.3.2
brotlipy 0.7.0
certifi 2021.5.30
cffi 1.14.5
chardet 4.0.0
click 8.0.1
cloudpickle 1.6.0
clyent 1.2.2
colorama 0.4.4
conda 4.10.1
conda-build 3.21.4
conda-content-trust 0+unknown
conda-pack 0.6.0
conda-package-handling 1.7.3
conda-repo-cli 1.0.4
conda-token 0.3.0
conda-verify 3.4.2
contextlib2 0.6.0.post1
cryptography 3.4.7
cycler 0.10.0
Cython 0.29.23
cytoolz 0.11.0
dask 2021.6.0
decorator 5.0.9
defusedxml 0.7.1
diff-match-patch 20200713
distributed 2021.6.0
docutils 0.17.1
entrypoints 0.3
et-xmlfile 1.1.0
fastcache 1.1.0
filelock 3.0.12
flake8 3.9.0
Flask 1.1.2
fsspec 0.9.0
future 0.18.2
gevent 21.1.2
glob2 0.7
gmpy2 2.0.8
greenlet 1.1.0
h5py 2.10.0
HeapDict 1.0.1
html5lib 1.1
idna 2.10
imageio 2.9.0
imagesize 1.2.0
importlib-metadata 3.10.0
importlib-resources 5.1.4
iniconfig 1.1.1
intervaltree 3.1.0
ipykernel 5.3.4
ipython 7.22.0
ipython-genutils 0.2.0
ipywidgets 7.6.3
isort 5.8.0
itsdangerous 2.0.1
jdcal 1.4.1
jedi 0.17.2
jeepney 0.6.0
Jinja2 3.0.0
joblib 1.0.1
json5 0.9.5
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.1.12
jupyter-console 6.4.0
jupyter-core 4.7.1
jupyter-packaging 0.7.12
jupyter-server 1.4.1
jupyterlab 3.0.14
jupyterlab-pygments 0.1.2
jupyterlab-server 2.4.0
jupyterlab-widgets 1.0.0
keyring 23.0.1
kiwisolver 1.3.1
lazy-object-proxy 1.6.0
libarchive-c 2.9
llvmlite 0.36.0
locket 0.2.1
lxml 4.6.3
MarkupSafe 2.0.1
matplotlib 3.3.4
mccabe 0.6.1
mistune 0.8.4
mkl-fft 1.3.0
mkl-random 1.2.1
mkl-service 2.3.0
mock 4.0.3
more-itertools 8.8.0
mpmath 1.2.1
msgpack 1.0.2
multipledispatch 0.6.0
mypy-extensions 0.4.3
navigator-updater 0.2.1
nbclassic 0.2.6
nbclient 0.5.3
nbconvert 6.0.7
nbformat 5.1.3
nest-asyncio 1.5.1
networkx 2.5
nltk 3.6.2
nose 1.3.7
notebook 6.4.0
numba 0.53.1
numexpr 2.7.3
numpy 1.20.2
numpydoc 1.1.0
olefile 0.46
openpyxl 3.0.7
packaging 20.9
pandas 1.2.4
pandocfilters 1.4.3
parso 0.7.0
partd 1.2.0
path 15.1.2
pathlib2 2.3.5
pathspec 0.7.0
pathtools 0.1.2
patsy 0.5.1
pep8 1.7.1
pexpect 4.8.0
pickleshare 0.7.5
Pillow 8.2.0
Pint 0.17
pip 21.1.2
pkginfo 1.7.0
pluggy 0.13.1
ply 3.11
project-b4 0.1.0 /mnt/e/Coding/Uni/SMD/project_b4
prometheus-client 0.11.0
prompt-toolkit 3.0.17
psutil 5.8.0
ptyprocess 0.7.0
py 1.10.0
pycodestyle 2.6.0
pycosat 0.6.3
pycparser 2.20
pycurl 7.43.0.6
pydocstyle 6.1.1
pyerfa 2.0.0
pyflakes 2.2.0
Pygments 2.9.0
pylint 2.8.3
pyls-black 0.4.6
pyls-spyder 0.3.2
pyodbc 4.0.0-unsupported
pyOpenSSL 20.0.1
pyparsing 2.4.7
pyrsistent 0.17.3
PySocks 1.7.1
pytest 6.2.3
python-dateutil 2.8.1
python-jsonrpc-server 0.4.0
python-language-server 0.36.2
pytz 2021.1
PyWavelets 1.1.1
pyxdg 0.27
PyYAML 5.4.1
pyzmq 20.0.0
QDarkStyle 2.8.1
QtAwesome 1.0.2
qtconsole 5.1.0
QtPy 1.9.0
regex 2021.4.4
requests 2.25.1
rope 0.18.0
Rtree 0.9.7
ruamel-yaml-conda 0.15.100
scikit-image 0.18.1
scikit-learn 0.24.2
scipy 1.6.2
seaborn 0.11.1
SecretStorage 3.3.1
Send2Trash 1.5.0
setuptools 52.0.0.post20210125
simplegeneric 0.8.1
singledispatch 0.0.0
sip 4.19.13
six 1.15.0
sniffio 1.2.0
snowballstemmer 2.1.0
sortedcollections 2.1.0
sortedcontainers 2.3.0
soupsieve 2.2.1
Sphinx 4.0.1
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 1.0.3
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.4
sphinxcontrib-websupport 1.2.4
spyder 4.2.5
spyder-kernels 1.10.2
SQLAlchemy 1.4.15
statsmodels 0.12.2
sympy 1.8
tables 3.6.1
tblib 1.7.0
terminado 0.9.4
testpath 0.4.4
textdistance 4.2.1
threadpoolctl 2.1.0
three-merge 0.1.1
tifffile 2020.10.1
toml 0.10.2
toolz 0.11.1
tornado 6.1
tqdm 4.59.0
traitlets 5.0.5
typed-ast 1.4.2
typing-extensions 3.7.4.3
ujson 4.0.2
uncertainties 3.1.5
unicodecsv 0.14.1
urllib3 1.26.4
watchdog 1.0.2
wcwidth 0.2.5
webencodings 0.5.1
Werkzeug 1.0.1
wheel 0.36.2
widgetsnbextension 3.5.1
wrapt 1.12.1
wurlitzer 2.1.0
xlrd 2.0.1
XlsxWriter 1.3.8
xlwt 1.3.0
xmltodict 0.12.0
yapf 0.31.0
zict 2.0.0
zipp 3.4.1
zope.event 4.5.0
zope.interface 5.3.0

conda list:
# packages in environment at /home/nico/.local/anaconda3:
#
# Name Version Build Channel
_anaconda_depends 2020.07 py38_0
_ipyw_jlab_nb_ext_conf 0.1.0 py38_0
_libgcc_mutex 0.1 main
_openmp_mutex 4.5 1_gnu
alabaster 0.7.12 pyhd3eb1b0_0
anaconda custom py38_1
anaconda-client 1.7.2 py38_0
anaconda-navigator 2.0.3 py38_0
anaconda-project 0.10.0 pyhd3eb1b0_0
anyio 2.2.0 py38h06a4308_1
appdirs 1.4.4 py_0
argh 0.26.2 py38_0
argon2-cffi 20.1.0 py38h27cfd23_1
asn1crypto 1.4.0 py_0
astroid 2.5.8 py38h06a4308_0
astropy 4.2.1 py38h27cfd23_1
async_generator 1.10 pyhd3eb1b0_0
atomicwrites 1.4.0 py_0
attrs 21.2.0 pyhd3eb1b0_0
autopep8 1.5.6 pyhd3eb1b0_0
babel 2.9.1 pyhd3eb1b0_0
backcall 0.2.0 pyhd3eb1b0_0
backports 1.0 pyhd3eb1b0_2
backports.functools_lru_cache 1.6.4 pyhd3eb1b0_0
backports.shutil_get_terminal_size 1.0.0 pyhd3eb1b0_3
backports.tempfile 1.0 pyhd3eb1b0_1
backports.weakref 1.0.post1 py_1
beautifulsoup4 4.9.3 pyha847dfd_0
bitarray 2.1.0 py38h27cfd23_1
bkcharts 0.2 py38_0
black 19.10b0 py_0
blas 1.0 mkl
bleach 3.3.0 pyhd3eb1b0_0
blosc 1.21.0 h8c45485_0
bokeh 2.3.2 py38h06a4308_0
boto 2.49.0 py38_0
bottleneck 1.3.2 py38heb32a55_1
brotlipy 0.7.0 py38h27cfd23_1003
bzip2 1.0.8 h7b6447c_0
c-ares 1.17.1 h27cfd23_0
ca-certificates 2021.5.30 ha878542_0 conda-forge
cairo 1.16.0 hf32fb01_1
certifi 2021.5.30 py38h578d9bd_0 conda-forge
cffi 1.14.5 py38h261ae71_0
chardet 4.0.0 py38h06a4308_1003
click 8.0.1 pyhd3eb1b0_0
cloudpickle 1.6.0 py_0
clyent 1.2.2 py38_1
colorama 0.4.4 pyhd3eb1b0_0
conda 4.10.1 py38h578d9bd_0 conda-forge
conda-build 3.21.4 py38h06a4308_0
conda-content-trust 0.1.1 pyhd3eb1b0_0
conda-env 2.6.0 1
conda-pack 0.6.0 pyhd3eb1b0_0
conda-package-handling 1.7.3 py38h27cfd23_1
conda-repo-cli 1.0.4 pyhd3eb1b0_0
conda-token 0.3.0 pyhd3eb1b0_0
conda-verify 3.4.2 py_1
contextlib2 0.6.0.post1 py_0
cryptography 3.4.7 py38hd23ed53_0
curl 7.71.1 hbc83047_1
cycler 0.10.0 py38_0
cython 0.29.23 py38h2531618_0
cytoolz 0.11.0 py38h7b6447c_0
dask 2021.6.0 pyhd3eb1b0_0
dask-core 2021.6.0 pyhd3eb1b0_0
dbus 1.13.18 hb2f20db_0
decorator 5.0.9 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
diff-match-patch 20200713 py_0
distributed 2021.6.0 py38h06a4308_0
docutils 0.17.1 py38h06a4308_1
entrypoints 0.3 py38_0
et_xmlfile 1.1.0 py38h06a4308_0
expat 2.4.1 h2531618_2
fastcache 1.1.0 py38h7b6447c_0
filelock 3.0.12 pyhd3eb1b0_1
flake8 3.9.0 pyhd3eb1b0_0
flask 1.1.2 pyhd3eb1b0_0
fontconfig 2.13.1 h6c09931_0
freetype 2.10.4 h5ab3b9f_0
fribidi 1.0.10 h7b6447c_0
fsspec 0.9.0 pyhd3eb1b0_0
future 0.18.2 py38_1
get_terminal_size 1.0.0 haa9412d_0
gevent 21.1.2 py38h27cfd23_1
glib 2.68.2 h36276a3_0
glob2 0.7 pyhd3eb1b0_0
gmp 6.2.1 h2531618_2
gmpy2 2.0.8 py38hd5f6e3b_3
graphite2 1.3.14 h23475e2_0
greenlet 1.1.0 py38h2531618_0
gst-plugins-base 1.14.0 h8213a91_2
gstreamer 1.14.0 h28cd5cc_2
h5py 2.10.0 py38h7918eee_0
harfbuzz 2.8.1 h6f93f22_0
hdf5 1.10.4 hb1b8bf9_0
heapdict 1.0.1 py_0
html5lib 1.1 py_0
icu 58.2 he6710b0_3
idna 2.10 pyhd3eb1b0_0
imageio 2.9.0 pyhd3eb1b0_0
imagesize 1.2.0 pyhd3eb1b0_0
importlib-metadata 3.10.0 py38h06a4308_0
importlib_metadata 3.10.0 hd3eb1b0_0
importlib_resources 5.1.4 pyhd8ed1ab_0 conda-forge
iniconfig 1.1.1 pyhd3eb1b0_0
intel-openmp 2021.2.0 h06a4308_610
intervaltree 3.1.0 py_0
ipykernel 5.3.4 py38h5ca1d4c_0
ipython 7.22.0 py38hb070fc8_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.3 pyhd3eb1b0_1
isort 5.8.0 pyhd3eb1b0_0
itsdangerous 2.0.1 pyhd3eb1b0_0
jbig 2.1 hdba287a_0
jdcal 1.4.1 py_0
jedi 0.17.2 py38h06a4308_1
jeepney 0.6.0 pyhd3eb1b0_0
jinja2 3.0.0 pyhd3eb1b0_0
joblib 1.0.1 pyhd3eb1b0_0
jpeg 9b h024ee3a_2
json5 0.9.5 py_0
jsonschema 3.2.0 py_2
jupyter 1.0.0 py38_7
jupyter-packaging 0.7.12 pyhd3eb1b0_0
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.7.1 py38h06a4308_0
jupyter_server 1.4.1 py38h06a4308_0
jupyterlab 3.0.14 pyhd3eb1b0_1
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.4.0 pyhd3eb1b0_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
keyring 23.0.1 py38h06a4308_0
kiwisolver 1.3.1 py38h2531618_0
krb5 1.18.2 h173b8e3_0
lazy-object-proxy 1.6.0 py38h27cfd23_0
lcms2 2.12 h3be6417_0
ld_impl_linux-64 2.35.1 h7274673_9
libarchive 3.4.2 h62408e4_0
libcurl 7.71.1 h20c2e04_1
libedit 3.1.20210216 h27cfd23_1
libev 4.33 h7b6447c_0
libffi 3.3 he6710b0_2
libgcc-ng 9.3.0 h5101ec6_17
libgfortran-ng 7.5.0 ha8ba4b0_17
libgfortran4 7.5.0 ha8ba4b0_17
libgomp 9.3.0 h5101ec6_17
liblief 0.10.1 he6710b0_0
libllvm10 10.0.1 hbcb73fb_5
libllvm9 9.0.1 h4a3c616_1
libpng 1.6.37 hbc83047_0
libsodium 1.0.18 h7b6447c_0
libspatialindex 1.9.3 h2531618_0
libssh2 1.9.0 h1ba5d50_1
libstdcxx-ng 9.3.0 hd4cf53a_17
libtiff 4.2.0 h85742a9_0
libtool 2.4.6 h7b6447c_1005
libuuid 1.0.3 h1bed415_2
libuv 1.40.0 h7b6447c_0
libwebp-base 1.2.0 h27cfd23_0
libxcb 1.14 h7b6447c_0
libxml2 2.9.10 hb55368b_3
libxslt 1.1.34 hc22bd24_0
llvmlite 0.36.0 py38h612dafd_4
locket 0.2.1 py38h06a4308_1
lxml 4.6.3 py38h9120a33_0
lz4-c 1.9.3 h2531618_0
lzo 2.10 h7b6447c_2
markupsafe 2.0.1 py38h27cfd23_0
matplotlib 3.3.4 py38h06a4308_0
matplotlib-base 3.3.4 py38h62a2d02_0
mccabe 0.6.1 py38_1
mistune 0.8.4 py38h7b6447c_1000
mkl 2021.2.0 h06a4308_296
mkl-service 2.3.0 py38h27cfd23_1
mkl_fft 1.3.0 py38h42c9631_2
mkl_random 1.2.1 py38ha9443f7_2
mock 4.0.3 pyhd3eb1b0_0
more-itertools 8.8.0 pyhd3eb1b0_0
mpc 1.1.0 h10f8cd9_1
mpfr 4.0.2 hb69a4c5_1
mpmath 1.2.1 py38h06a4308_0
msgpack-python 1.0.2 py38hff7bd54_1
multipledispatch 0.6.0 py38_0
mypy_extensions 0.4.3 py38_0
navigator-updater 0.2.1 py38_0
nbclassic 0.2.6 pyhd3eb1b0_0
nbclient 0.5.3 pyhd3eb1b0_0
nbconvert 6.0.7 py38_0
nbformat 5.1.3 pyhd3eb1b0_0
ncurses 6.2 he6710b0_1
nest-asyncio 1.5.1 pyhd3eb1b0_0
networkx 2.5 py_0
nltk 3.6.2 pyhd3eb1b0_0
nose 1.3.7 pyhd3eb1b0_1006
notebook 6.4.0 py38h06a4308_0
numba 0.53.1 py38ha9443f7_0
numexpr 2.7.3 py38h22e1b3c_1
numpy 1.20.2 py38h2d18471_0
numpy-base 1.20.2 py38hfae3a4d_0
numpydoc 1.1.0 pyhd3eb1b0_1
olefile 0.46 py_0
openpyxl 3.0.7 pyhd3eb1b0_0
openssl 1.1.1k h7f98852_0 conda-forge
packaging 20.9 pyhd3eb1b0_0
pandas 1.2.4 py38h2531618_0
pandoc 2.12 h06a4308_0
pandocfilters 1.4.3 py38h06a4308_1
pango 1.45.3 hd140c19_0
parso 0.7.0 py_0
partd 1.2.0 pyhd3eb1b0_0
patchelf 0.12 h2531618_1
path 15.1.2 py38h06a4308_0
path.py 12.5.0 0
pathlib2 2.3.5 py38h06a4308_2
pathspec 0.7.0 py_0
pathtools 0.1.2 py_1
patsy 0.5.1 py38_0
pcre 8.44 he6710b0_0
pep8 1.7.1 py38_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.2.0 py38he98fc37_0
pint 0.17 pyhd8ed1ab_0 conda-forge
pip 21.1.2 py38h06a4308_0
pixman 0.40.0 h7b6447c_0
pkginfo 1.7.0 py38h06a4308_0
pluggy 0.13.1 py38h06a4308_0
ply 3.11 py38_0
project-b4 0.1.0 dev_0
prometheus_client 0.11.0 pyhd3eb1b0_0
prompt-toolkit 3.0.17 pyh06a4308_0
prompt_toolkit 3.0.17 hd3eb1b0_0
psutil 5.8.0 py38h27cfd23_1
ptyprocess 0.7.0 pyhd3eb1b0_2
py 1.10.0 pyhd3eb1b0_0
py-lief 0.10.1 py38h403a769_0
pycodestyle 2.6.0 pyhd3eb1b0_0
pycosat 0.6.3 py38h7b6447c_1
pycparser 2.20 py_2
pycurl 7.43.0.6 py38h1ba5d50_0
pydocstyle 6.1.1 pyhd3eb1b0_0
pyerfa 2.0.0 py38h27cfd23_0
pyflakes 2.2.0 pyhd3eb1b0_0
pygments 2.9.0 pyhd3eb1b0_0
pylint 2.8.3 py38h06a4308_1
pyls-black 0.4.6 hd3eb1b0_0
pyls-spyder 0.3.2 pyhd3eb1b0_0
pyodbc 4.0.30 py38he6710b0_0
pyopenssl 20.0.1 pyhd3eb1b0_1
pyparsing 2.4.7 pyhd3eb1b0_0
pyqt 5.9.2 py38h05f1152_4
pyrsistent 0.17.3 py38h7b6447c_0
pysocks 1.7.1 py38h06a4308_0
pytables 3.6.1 py38h9fd0a39_0
pytest 6.2.3 py38h06a4308_2
python 3.8.8 hdb3f193_5
python-dateutil 2.8.1 pyhd3eb1b0_0
python-jsonrpc-server 0.4.0 py_0
python-language-server 0.36.2 pyhd3eb1b0_0
python-libarchive-c 2.9 pyhd3eb1b0_1
python_abi 3.8 1_cp38 conda-forge
pytz 2021.1 pyhd3eb1b0_0
pywavelets 1.1.1 py38h7b6447c_2
pyxdg 0.27 pyhd3eb1b0_0
pyyaml 5.4.1 py38h27cfd23_1
pyzmq 20.0.0 py38h2531618_1
qdarkstyle 2.8.1 py_0
qt 5.9.7 h5867ecd_1
qtawesome 1.0.2 pyhd3eb1b0_0
qtconsole 5.1.0 pyhd3eb1b0_0
qtpy 1.9.0 py_0
readline 8.1 h27cfd23_0
regex 2021.4.4 py38h27cfd23_0
requests 2.25.1 pyhd3eb1b0_0
ripgrep 12.1.1 0
rope 0.18.0 py_0
rtree 0.9.7 py38h06a4308_1
ruamel_yaml 0.15.100 py38h27cfd23_0
scikit-image 0.18.1 py38ha9443f7_0
scikit-learn 0.24.2 py38ha9443f7_0
scipy 1.6.2 py38had2a1c9_1
seaborn 0.11.1 pyhd3eb1b0_0
secretstorage 3.3.1 py38h06a4308_0
send2trash 1.5.0 pyhd3eb1b0_1
setuptools 52.0.0 py38h06a4308_0
simplegeneric 0.8.1 py38_2
singledispatch 3.6.1 pyhd3eb1b0_1001
sip 4.19.13 py38he6710b0_0
six 1.15.0 py38h06a4308_0
snappy 1.1.8 he6710b0_0
sniffio 1.2.0 py38h06a4308_1
snowballstemmer 2.1.0 pyhd3eb1b0_0
sortedcollections 2.1.0 pyhd3eb1b0_0
sortedcontainers 2.3.0 pyhd3eb1b0_0
soupsieve 2.2.1 pyhd3eb1b0_0
sphinx 4.0.1 pyhd3eb1b0_0
sphinxcontrib 1.0 py38_1
sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0
sphinxcontrib-htmlhelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0
sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0
sphinxcontrib-serializinghtml 1.1.4 pyhd3eb1b0_0
sphinxcontrib-websupport 1.2.4 py_0
spyder 4.2.5 py38h06a4308_0
spyder-kernels 1.10.2 py38h06a4308_0
sqlalchemy 1.4.15 py38h27cfd23_0
sqlite 3.35.4 hdfb4753_0
statsmodels 0.12.2 py38h27cfd23_0
sympy 1.8 py38h06a4308_0
tbb 2020.3 hfd86e86_0
tblib 1.7.0 py_0
terminado 0.9.4 py38h06a4308_0
testpath 0.4.4 pyhd3eb1b0_0
textdistance 4.2.1 pyhd3eb1b0_0
threadpoolctl 2.1.0 pyh5ca1d4c_0
three-merge 0.1.1 pyhd3eb1b0_0
tifffile 2020.10.1 py38hdd07704_2
tk 8.6.10 hbc83047_0
toml 0.10.2 pyhd3eb1b0_0
toolz 0.11.1 pyhd3eb1b0_0
tornado 6.1 py38h27cfd23_0
tqdm 4.59.0 pyhd3eb1b0_1
traitlets 5.0.5 pyhd3eb1b0_0
typed-ast 1.4.2 py38h27cfd23_1
typing_extensions 3.7.4.3 pyha847dfd_0
ujson 4.0.2 py38h2531618_0
uncertainties 2.4.4 pypi_0 pypi
unicodecsv 0.14.1 py38_0
unixodbc 2.3.9 h7b6447c_0
urllib3 1.26.4 pyhd3eb1b0_0
watchdog 1.0.2 py38h06a4308_1
wcwidth 0.2.5 py_0
webencodings 0.5.1 py38_1
werkzeug 1.0.1 pyhd3eb1b0_0
wheel 0.36.2 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py38_0
wrapt 1.12.1 py38h7b6447c_1
wurlitzer 2.1.0 py38h06a4308_0
xlrd 2.0.1 pyhd3eb1b0_0
xlsxwriter 1.3.8 pyhd3eb1b0_0
xlwt 1.3.0 py38_0
xmltodict 0.12.0 py_0
xz 5.2.5 h7b6447c_0
yaml 0.2.5 h7b6447c_0
yapf 0.31.0 pyhd3eb1b0_0
zeromq 4.3.4 h2531618_0
zict 2.0.0 pyhd3eb1b0_0
zipp 3.4.1 pyhd3eb1b0_0
zlib 1.2.11 h7b6447c_3
zope 1.0 py38_1
zope.event 4.5.0 py38_0
zope.interface 5.3.0 py38h27cfd23_0
zstd 1.4.9 haebb681_0

conda env:
name: base
channels:
- conda-forge
- defaults
dependencies:
- _anaconda_depends=2020.07=py38_0
- _ipyw_jlab_nb_ext_conf=0.1.0=py38_0
- _libgcc_mutex=0.1=main
- _openmp_mutex=4.5=1_gnu
- alabaster=0.7.12=pyhd3eb1b0_0
- anaconda=custom=py38_1
- anaconda-client=1.7.2=py38_0
- anaconda-navigator=2.0.3=py38_0
- anaconda-project=0.10.0=pyhd3eb1b0_0
- anyio=2.2.0=py38h06a4308_1
- appdirs=1.4.4=py_0
- argh=0.26.2=py38_0
- argon2-cffi=20.1.0=py38h27cfd23_1
- asn1crypto=1.4.0=py_0
- astroid=2.5.8=py38h06a4308_0
- astropy=4.2.1=py38h27cfd23_1
- async_generator=1.10=pyhd3eb1b0_0
- atomicwrites=1.4.0=py_0
- attrs=21.2.0=pyhd3eb1b0_0
- autopep8=1.5.6=pyhd3eb1b0_0
- babel=2.9.1=pyhd3eb1b0_0
- backcall=0.2.0=pyhd3eb1b0_0
- backports=1.0=pyhd3eb1b0_2
- backports.functools_lru_cache=1.6.4=pyhd3eb1b0_0
- backports.shutil_get_terminal_size=1.0.0=pyhd3eb1b0_3
- backports.tempfile=1.0=pyhd3eb1b0_1
- backports.weakref=1.0.post1=py_1
- beautifulsoup4=4.9.3=pyha847dfd_0
- bitarray=2.1.0=py38h27cfd23_1
- bkcharts=0.2=py38_0
- black=19.10b0=py_0
- blas=1.0=mkl
- bleach=3.3.0=pyhd3eb1b0_0
- blosc=1.21.0=h8c45485_0
- bokeh=2.3.2=py38h06a4308_0
- boto=2.49.0=py38_0
- bottleneck=1.3.2=py38heb32a55_1
- brotlipy=0.7.0=py38h27cfd23_1003
- bzip2=1.0.8=h7b6447c_0
- c-ares=1.17.1=h27cfd23_0
- ca-certificates=2021.5.30=ha878542_0
- cairo=1.16.0=hf32fb01_1
- certifi=2021.5.30=py38h578d9bd_0
- cffi=1.14.5=py38h261ae71_0
- chardet=4.0.0=py38h06a4308_1003
- click=8.0.1=pyhd3eb1b0_0
- cloudpickle=1.6.0=py_0
- clyent=1.2.2=py38_1
- colorama=0.4.4=pyhd3eb1b0_0
- conda=4.10.1=py38h578d9bd_0
- conda-build=3.21.4=py38h06a4308_0
- conda-content-trust=0.1.1=pyhd3eb1b0_0
- conda-env=2.6.0=1
- conda-pack=0.6.0=pyhd3eb1b0_0
- conda-package-handling=1.7.3=py38h27cfd23_1
- conda-repo-cli=1.0.4=pyhd3eb1b0_0
- conda-token=0.3.0=pyhd3eb1b0_0
- conda-verify=3.4.2=py_1
- contextlib2=0.6.0.post1=py_0
- cryptography=3.4.7=py38hd23ed53_0
- curl=7.71.1=hbc83047_1
- cycler=0.10.0=py38_0
- cython=0.29.23=py38h2531618_0
- cytoolz=0.11.0=py38h7b6447c_0
- dask=2021.6.0=pyhd3eb1b0_0
- dask-core=2021.6.0=pyhd3eb1b0_0
- dbus=1.13.18=hb2f20db_0
- decorator=5.0.9=pyhd3eb1b0_0
- defusedxml=0.7.1=pyhd3eb1b0_0
- diff-match-patch=20200713=py_0
- distributed=2021.6.0=py38h06a4308_0
- docutils=0.17.1=py38h06a4308_1
- entrypoints=0.3=py38_0
- et_xmlfile=1.1.0=py38h06a4308_0
- expat=2.4.1=h2531618_2
- fastcache=1.1.0=py38h7b6447c_0
- filelock=3.0.12=pyhd3eb1b0_1
- flake8=3.9.0=pyhd3eb1b0_0
- flask=1.1.2=pyhd3eb1b0_0
- fontconfig=2.13.1=h6c09931_0
- freetype=2.10.4=h5ab3b9f_0
- fribidi=1.0.10=h7b6447c_0
- fsspec=0.9.0=pyhd3eb1b0_0
- future=0.18.2=py38_1
- get_terminal_size=1.0.0=haa9412d_0
- gevent=21.1.2=py38h27cfd23_1
- glib=2.68.2=h36276a3_0
- glob2=0.7=pyhd3eb1b0_0
- gmp=6.2.1=h2531618_2
- gmpy2=2.0.8=py38hd5f6e3b_3
- graphite2=1.3.14=h23475e2_0
- greenlet=1.1.0=py38h2531618_0
- gst-plugins-base=1.14.0=h8213a91_2
- gstreamer=1.14.0=h28cd5cc_2
- h5py=2.10.0=py38h7918eee_0
- harfbuzz=2.8.1=h6f93f22_0
- hdf5=1.10.4=hb1b8bf9_0
- heapdict=1.0.1=py_0
- html5lib=1.1=py_0
- icu=58.2=he6710b0_3
- idna=2.10=pyhd3eb1b0_0
- imageio=2.9.0=pyhd3eb1b0_0
- imagesize=1.2.0=pyhd3eb1b0_0
- importlib-metadata=3.10.0=py38h06a4308_0
- importlib_metadata=3.10.0=hd3eb1b0_0
- importlib_resources=5.1.4=pyhd8ed1ab_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- intel-openmp=2021.2.0=h06a4308_610
- intervaltree=3.1.0=py_0
- ipykernel=5.3.4=py38h5ca1d4c_0
- ipython=7.22.0=py38hb070fc8_0
- ipython_genutils=0.2.0=pyhd3eb1b0_1
- ipywidgets=7.6.3=pyhd3eb1b0_1
- isort=5.8.0=pyhd3eb1b0_0
- itsdangerous=2.0.1=pyhd3eb1b0_0
- jbig=2.1=hdba287a_0
- jdcal=1.4.1=py_0
- jedi=0.17.2=py38h06a4308_1
- jeepney=0.6.0=pyhd3eb1b0_0
- jinja2=3.0.0=pyhd3eb1b0_0
- joblib=1.0.1=pyhd3eb1b0_0
- jpeg=9b=h024ee3a_2
- json5=0.9.5=py_0
- jsonschema=3.2.0=py_2
- jupyter=1.0.0=py38_7
- jupyter-packaging=0.7.12=pyhd3eb1b0_0
- jupyter_client=6.1.12=pyhd3eb1b0_0
- jupyter_console=6.4.0=pyhd3eb1b0_0
- jupyter_core=4.7.1=py38h06a4308_0
- jupyter_server=1.4.1=py38h06a4308_0
- jupyterlab=3.0.14=pyhd3eb1b0_1
- jupyterlab_pygments=0.1.2=py_0
- jupyterlab_server=2.4.0=pyhd3eb1b0_0
- jupyterlab_widgets=1.0.0=pyhd3eb1b0_1
- keyring=23.0.1=py38h06a4308_0
- kiwisolver=1.3.1=py38h2531618_0
- krb5=1.18.2=h173b8e3_0
- lazy-object-proxy=1.6.0=py38h27cfd23_0
- lcms2=2.12=h3be6417_0
- ld_impl_linux-64=2.35.1=h7274673_9
- libarchive=3.4.2=h62408e4_0
- libcurl=7.71.1=h20c2e04_1
- libedit=3.1.20210216=h27cfd23_1
- libev=4.33=h7b6447c_0
- libffi=3.3=he6710b0_2
- libgcc-ng=9.3.0=h5101ec6_17
- libgfortran-ng=7.5.0=ha8ba4b0_17
- libgfortran4=7.5.0=ha8ba4b0_17
- libgomp=9.3.0=h5101ec6_17
- liblief=0.10.1=he6710b0_0
- libllvm10=10.0.1=hbcb73fb_5
- libllvm9=9.0.1=h4a3c616_1
- libpng=1.6.37=hbc83047_0
- libsodium=1.0.18=h7b6447c_0
- libspatialindex=1.9.3=h2531618_0
- libssh2=1.9.0=h1ba5d50_1
- libstdcxx-ng=9.3.0=hd4cf53a_17
- libtiff=4.2.0=h85742a9_0
- libtool=2.4.6=h7b6447c_1005
- libuuid=1.0.3=h1bed415_2
- libuv=1.40.0=h7b6447c_0
- libwebp-base=1.2.0=h27cfd23_0
- libxcb=1.14=h7b6447c_0
- libxml2=2.9.10=hb55368b_3
- libxslt=1.1.34=hc22bd24_0
- llvmlite=0.36.0=py38h612dafd_4
- locket=0.2.1=py38h06a4308_1
- lxml=4.6.3=py38h9120a33_0
- lz4-c=1.9.3=h2531618_0
- lzo=2.10=h7b6447c_2
- markupsafe=2.0.1=py38h27cfd23_0
- matplotlib=3.3.4=py38h06a4308_0
- matplotlib-base=3.3.4=py38h62a2d02_0
- mccabe=0.6.1=py38_1
- mistune=0.8.4=py38h7b6447c_1000
- mkl=2021.2.0=h06a4308_296
- mkl-service=2.3.0=py38h27cfd23_1
- mkl_fft=1.3.0=py38h42c9631_2
- mkl_random=1.2.1=py38ha9443f7_2
- mock=4.0.3=pyhd3eb1b0_0
- more-itertools=8.8.0=pyhd3eb1b0_0
- mpc=1.1.0=h10f8cd9_1
- mpfr=4.0.2=hb69a4c5_1
- mpmath=1.2.1=py38h06a4308_0
- msgpack-python=1.0.2=py38hff7bd54_1
- multipledispatch=0.6.0=py38_0
- mypy_extensions=0.4.3=py38_0
- navigator-updater=0.2.1=py38_0
- nbclassic=0.2.6=pyhd3eb1b0_0
- nbclient=0.5.3=pyhd3eb1b0_0
- nbconvert=6.0.7=py38_0
- nbformat=5.1.3=pyhd3eb1b0_0
- ncurses=6.2=he6710b0_1
- nest-asyncio=1.5.1=pyhd3eb1b0_0
- networkx=2.5=py_0
- nltk=3.6.2=pyhd3eb1b0_0
- nose=1.3.7=pyhd3eb1b0_1006
- notebook=6.4.0=py38h06a4308_0
- numba=0.53.1=py38ha9443f7_0
- numexpr=2.7.3=py38h22e1b3c_1
- numpy=1.20.2=py38h2d18471_0
- numpy-base=1.20.2=py38hfae3a4d_0
- numpydoc=1.1.0=pyhd3eb1b0_1
- olefile=0.46=py_0
- openpyxl=3.0.7=pyhd3eb1b0_0
- openssl=1.1.1k=h7f98852_0
- packaging=20.9=pyhd3eb1b0_0
- pandas=1.2.4=py38h2531618_0
- pandoc=2.12=h06a4308_0
- pandocfilters=1.4.3=py38h06a4308_1
- pango=1.45.3=hd140c19_0
- parso=0.7.0=py_0
- partd=1.2.0=pyhd3eb1b0_0
- patchelf=0.12=h2531618_1
- path=15.1.2=py38h06a4308_0
- path.py=12.5.0=0
- pathlib2=2.3.5=py38h06a4308_2
- pathspec=0.7.0=py_0
- pathtools=0.1.2=py_1
- patsy=0.5.1=py38_0
- pcre=8.44=he6710b0_0
- pep8=1.7.1=py38_0
- pexpect=4.8.0=pyhd3eb1b0_3
- pickleshare=0.7.5=pyhd3eb1b0_1003
- pillow=8.2.0=py38he98fc37_0
- pint=0.17=pyhd8ed1ab_0
- pip=21.1.2=py38h06a4308_0
- pixman=0.40.0=h7b6447c_0
- pkginfo=1.7.0=py38h06a4308_0
- pluggy=0.13.1=py38h06a4308_0
- ply=3.11=py38_0
- prometheus_client=0.11.0=pyhd3eb1b0_0
- prompt-toolkit=3.0.17=pyh06a4308_0
- prompt_toolkit=3.0.17=hd3eb1b0_0
- psutil=5.8.0=py38h27cfd23_1
- ptyprocess=0.7.0=pyhd3eb1b0_2
- py=1.10.0=pyhd3eb1b0_0
- py-lief=0.10.1=py38h403a769_0
- pycodestyle=2.6.0=pyhd3eb1b0_0
- pycosat=0.6.3=py38h7b6447c_1
- pycparser=2.20=py_2
- pycurl=7.43.0.6=py38h1ba5d50_0
- pydocstyle=6.1.1=pyhd3eb1b0_0
- pyerfa=2.0.0=py38h27cfd23_0
- pyflakes=2.2.0=pyhd3eb1b0_0
- pygments=2.9.0=pyhd3eb1b0_0
- pylint=2.8.3=py38h06a4308_1
- pyls-black=0.4.6=hd3eb1b0_0
- pyls-spyder=0.3.2=pyhd3eb1b0_0
- pyodbc=4.0.30=py38he6710b0_0
- pyopenssl=20.0.1=pyhd3eb1b0_1
- pyparsing=2.4.7=pyhd3eb1b0_0
- pyqt=5.9.2=py38h05f1152_4
- pyrsistent=0.17.3=py38h7b6447c_0
- pysocks=1.7.1=py38h06a4308_0
- pytables=3.6.1=py38h9fd0a39_0
- pytest=6.2.3=py38h06a4308_2
- python=3.8.8=hdb3f193_5
- python-dateutil=2.8.1=pyhd3eb1b0_0
- python-jsonrpc-server=0.4.0=py_0
- python-language-server=0.36.2=pyhd3eb1b0_0
- python-libarchive-c=2.9=pyhd3eb1b0_1
- python_abi=3.8=1_cp38
- pytz=2021.1=pyhd3eb1b0_0
- pywavelets=1.1.1=py38h7b6447c_2
- pyxdg=0.27=pyhd3eb1b0_0
- pyyaml=5.4.1=py38h27cfd23_1
- pyzmq=20.0.0=py38h2531618_1
- qdarkstyle=2.8.1=py_0
- qt=5.9.7=h5867ecd_1
- qtawesome=1.0.2=pyhd3eb1b0_0
- qtconsole=5.1.0=pyhd3eb1b0_0
- qtpy=1.9.0=py_0
- readline=8.1=h27cfd23_0
- regex=2021.4.4=py38h27cfd23_0
- requests=2.25.1=pyhd3eb1b0_0
- ripgrep=12.1.1=0
- rope=0.18.0=py_0
- rtree=0.9.7=py38h06a4308_1
- ruamel_yaml=0.15.100=py38h27cfd23_0
- scikit-image=0.18.1=py38ha9443f7_0
- scikit-learn=0.24.2=py38ha9443f7_0
- scipy=1.6.2=py38had2a1c9_1
- seaborn=0.11.1=pyhd3eb1b0_0
- secretstorage=3.3.1=py38h06a4308_0
- send2trash=1.5.0=pyhd3eb1b0_1
- setuptools=52.0.0=py38h06a4308_0
- simplegeneric=0.8.1=py38_2
- singledispatch=3.6.1=pyhd3eb1b0_1001
- sip=4.19.13=py38he6710b0_0
- six=1.15.0=py38h06a4308_0
- snappy=1.1.8=he6710b0_0
- sniffio=1.2.0=py38h06a4308_1
- snowballstemmer=2.1.0=pyhd3eb1b0_0
- sortedcollections=2.1.0=pyhd3eb1b0_0
- sortedcontainers=2.3.0=pyhd3eb1b0_0
- soupsieve=2.2.1=pyhd3eb1b0_0
- sphinx=4.0.1=pyhd3eb1b0_0
- sphinxcontrib=1.0=py38_1
- sphinxcontrib-applehelp=1.0.2=pyhd3eb1b0_0
- sphinxcontrib-devhelp=1.0.2=pyhd3eb1b0_0
- sphinxcontrib-htmlhelp=1.0.3=pyhd3eb1b0_0
- sphinxcontrib-jsmath=1.0.1=pyhd3eb1b0_0
- sphinxcontrib-qthelp=1.0.3=pyhd3eb1b0_0
- sphinxcontrib-serializinghtml=1.1.4=pyhd3eb1b0_0
- sphinxcontrib-websupport=1.2.4=py_0
- spyder=4.2.5=py38h06a4308_0
- spyder-kernels=1.10.2=py38h06a4308_0
- sqlalchemy=1.4.15=py38h27cfd23_0
- sqlite=3.35.4=hdfb4753_0
- statsmodels=0.12.2=py38h27cfd23_0
- sympy=1.8=py38h06a4308_0
- tbb=2020.3=hfd86e86_0
- tblib=1.7.0=py_0
- terminado=0.9.4=py38h06a4308_0
- testpath=0.4.4=pyhd3eb1b0_0
- textdistance=4.2.1=pyhd3eb1b0_0
- threadpoolctl=2.1.0=pyh5ca1d4c_0
- three-merge=0.1.1=pyhd3eb1b0_0
- tifffile=2020.10.1=py38hdd07704_2
- tk=8.6.10=hbc83047_0
- toml=0.10.2=pyhd3eb1b0_0
- toolz=0.11.1=pyhd3eb1b0_0
- tornado=6.1=py38h27cfd23_0
- tqdm=4.59.0=pyhd3eb1b0_1
- traitlets=5.0.5=pyhd3eb1b0_0
- typed-ast=1.4.2=py38h27cfd23_1
- typing_extensions=3.7.4.3=pyha847dfd_0
- ujson=4.0.2=py38h2531618_0
- unicodecsv=0.14.1=py38_0
- unixodbc=2.3.9=h7b6447c_0
- urllib3=1.26.4=pyhd3eb1b0_0
- watchdog=1.0.2=py38h06a4308_1
- wcwidth=0.2.5=py_0
- webencodings=0.5.1=py38_1
- werkzeug=1.0.1=pyhd3eb1b0_0
- wheel=0.36.2=pyhd3eb1b0_0
- widgetsnbextension=3.5.1=py38_0
- wrapt=1.12.1=py38h7b6447c_1
- wurlitzer=2.1.0=py38h06a4308_0
- xlrd=2.0.1=pyhd3eb1b0_0
- xlsxwriter=1.3.8=pyhd3eb1b0_0
- xlwt=1.3.0=py38_0
- xmltodict=0.12.0=py_0
- xz=5.2.5=h7b6447c_0
- yaml=0.2.5=h7b6447c_0
- yapf=0.31.0=pyhd3eb1b0_0
- zeromq=4.3.4=h2531618_0
- zict=2.0.0=pyhd3eb1b0_0
- zipp=3.4.1=pyhd3eb1b0_0
- zlib=1.2.11=h7b6447c_3
- zope=1.0=py38_1
- zope.event=4.5.0=py38_0
- zope.interface=5.3.0=py38h27cfd23_0
- zstd=1.4.9=haebb681_0
- pip:
- uncertainties==3.1.5
prefix: /home/nico/.local/anaconda3

Command Line Output with `--debug` and waiting
[D 2021-06-14 23:23:08.690 ServerApp] Searching ['/home/nico', '/home/nico/.jupyter', '/home/nico/.local/anaconda3/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_config in /etc/jupyter
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_config in /home/nico/.local/anaconda3/etc/jupyter
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_config in /home/nico/.jupyter
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_config in /home/nico
[D 2021-06-14 23:23:08.691 ServerApp] Looking for jupyter_server_config in /etc/jupyter
[D 2021-06-14 23:23:08.692 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter
[D 2021-06-14 23:23:08.692 ServerApp] Looking for jupyter_server_config in /home/nico/.local/anaconda3/etc/jupyter
[D 2021-06-14 23:23:08.692 ServerApp] Looking for jupyter_server_config in /home/nico/.jupyter
[D 2021-06-14 23:23:08.692 ServerApp] Looking for jupyter_server_config in /home/nico
[D 2021-06-14 23:23:08.693 ServerApp] Paths used for configuration of jupyter_server_config:
        /etc/jupyter/jupyter_server_config.json
[D 2021-06-14 23:23:08.693 ServerApp] Paths used for configuration of jupyter_server_config:
        /usr/local/etc/jupyter/jupyter_server_config.json
[D 2021-06-14 23:23:08.694 ServerApp] Paths used for configuration of jupyter_server_config:
        /home/nico/.local/anaconda3/etc/jupyter/jupyter_server_config.d/jupyterlab.json
        /home/nico/.local/anaconda3/etc/jupyter/jupyter_server_config.d/nbclassic.json
        /home/nico/.local/anaconda3/etc/jupyter/jupyter_server_config.json
[D 2021-06-14 23:23:08.694 ServerApp] Paths used for configuration of jupyter_server_config:
        /home/nico/.jupyter/jupyter_server_config.json
[D 2021-06-14 23:23:08.702 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'log_level': 'DEBUG', 'jpserver_extensions': }, 'ExtensionApp': {'log_level': 'DEBUG'}}
[I 2021-06-14 23:23:08.703 ServerApp] jupyterlab | extension was successfully linked.
[W 2021-06-14 23:23:08.705 NotebookApp] 'use_redirect_file' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[D 2021-06-14 23:23:08.709 NotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'use_redirect_file': False, 'log_level': 'DEBUG', 'jpserver_extensions': }, 'ExtensionApp': {'log_level': 'DEBUG'}}
[D 2021-06-14 23:23:08.827 ServerApp] Paths used for configuration of jupyter_notebook_config:
        /home/nico/.jupyter/jupyter_notebook_config.json
[D 2021-06-14 23:23:08.827 ServerApp] Paths used for configuration of jupyter_notebook_config:
        /etc/jupyter/jupyter_notebook_config.json
[D 2021-06-14 23:23:08.828 ServerApp] Paths used for configuration of jupyter_notebook_config:
        /usr/local/etc/jupyter/jupyter_notebook_config.json
[D 2021-06-14 23:23:08.828 ServerApp] Paths used for configuration of jupyter_notebook_config:
        /home/nico/.local/anaconda3/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
        /home/nico/.local/anaconda3/etc/jupyter/jupyter_notebook_config.json
[D 2021-06-14 23:23:08.828 ServerApp] Paths used for configuration of jupyter_notebook_config:
        /home/nico/.jupyter/jupyter_notebook_config.json
[I 2021-06-14 23:23:08.828 ServerApp] nbclassic | extension was successfully linked.
[D 2021-06-14 23:23:08.829 ServerApp] Config changed: {'ExtensionApp': {'log_level': 'DEBUG'}, 'NotebookApp': {}, 'ServerApp': {'use_redirect_file': False, 'log_level': 'DEBUG', 'jpserver_extensions': }}
[D 2021-06-14 23:23:08.829 ServerApp] Raising open file limit: soft 1024->4096; hard 4096->4096
[I 2021-06-14 23:23:08.860 LabApp] JupyterLab extension loaded from /home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyterlab
[I 2021-06-14 23:23:08.860 LabApp] JupyterLab application directory is /home/nico/.local/anaconda3/share/jupyter/lab
[I 2021-06-14 23:23:08.862 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-06-14 23:23:08.864 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-06-14 23:23:08.864 ServerApp] Serving notebooks from local directory: /home/nico
[I 2021-06-14 23:23:08.864 ServerApp] Jupyter Server 1.4.1 is running at:
[I 2021-06-14 23:23:08.864 ServerApp] http://localhost:8888/lab?token=090f64c91807491092eb5795f996752f56a46776dd553a2b
[I 2021-06-14 23:23:08.864 ServerApp]  or http://127.0.0.1:8888/lab?token=090f64c91807491092eb5795f996752f56a46776dd553a2b
[I 2021-06-14 23:23:08.864 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-06-14 23:25:17.761 ServerApp]
To access the server, open this file in a browser:
    file:///home/nico/.local/share/jupyter/runtime/jpserver-10180-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/lab?token=090f64c91807491092eb5795f996752f56a46776dd553a2b
 or http://127.0.0.1:8888/lab?token=090f64c91807491092eb5795f996752f56a46776dd553a2b

tcgetpgrp failed: Not a tty
[D 2021-06-14 23:27:26.718 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:26.719 ServerApp] Paths used for configuration of page_config:
/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:26.719 ServerApp] Paths used for configuration of page_config:
/usr/local/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:26.720 ServerApp] Paths used for configuration of page_config:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:26.720 ServerApp] Paths used for configuration of page_config:
/home/nico/.jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:26.721 LabApp] Using contents: services/contents
[D 2021-06-14 23:27:26.724 LabApp] 200 GET /lab?token=090f64c91807491092eb5795f996752f56a46776dd553a2b (127.0.0.1) 6.46ms
[D 2021-06-14 23:27:26.776 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/remoteEntry.ca1efc27dc965162ca86.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/remoteEntry.ca1efc27dc965162ca86.js
[D 2021-06-14 23:27:26.776 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/remoteEntry.ca1efc27dc965162ca86.js (127.0.0.1) 1.17ms
[D 2021-06-14 23:27:27.013 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/638.f3e5e34a28f3334d4f08.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/638.f3e5e34a28f3334d4f08.js
[D 2021-06-14 23:27:27.013 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/638.f3e5e34a28f3334d4f08.js (127.0.0.1) 1.03ms
[D 2021-06-14 23:27:27.016 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/803.b7b75bd6e7977a648c67.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/803.b7b75bd6e7977a648c67.js
[D 2021-06-14 23:27:27.016 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/803.b7b75bd6e7977a648c67.js (127.0.0.1) 1.04ms
[D 2021-06-14 23:27:27.017 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/243.6c384ff2649ef572a18a.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/243.6c384ff2649ef572a18a.js
[D 2021-06-14 23:27:27.017 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/243.6c384ff2649ef572a18a.js (127.0.0.1) 0.71ms
[D 2021-06-14 23:27:27.018 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/272.2a8425db7209008188fc.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/272.2a8425db7209008188fc.js
[D 2021-06-14 23:27:27.018 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/272.2a8425db7209008188fc.js (127.0.0.1) 0.91ms
[D 2021-06-14 23:27:27.020 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/279.aa88a78c8bf62c65db54.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/279.aa88a78c8bf62c65db54.js
[D 2021-06-14 23:27:27.021 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/279.aa88a78c8bf62c65db54.js (127.0.0.1) 0.84ms
[D 2021-06-14 23:27:27.022 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/18.5fbcd9c56ded92ea9df9.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/18.5fbcd9c56ded92ea9df9.js
[D 2021-06-14 23:27:27.022 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/18.5fbcd9c56ded92ea9df9.js (127.0.0.1) 0.82ms
[D 2021-06-14 23:27:27.022 ServerApp] Path @jupyter-widgets/jupyterlab-manager/static/523.fa256ee012d38a89b65a.js served from /home/nico/.local/anaconda3/share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/static/523.fa256ee012d38a89b65a.js
[D 2021-06-14 23:27:27.022 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/523.fa256ee012d38a89b65a.js (127.0.0.1) 1.00ms
[D 2021-06-14 23:27:27.048 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.049 ServerApp] Found kernel python3 in /home/nico/.local/anaconda3/share/jupyter/kernels
[D 2021-06-14 23:27:27.051 ServerApp] 200 GET /api/kernelspecs?1623706046592 (127.0.0.1) 3.51ms
[D 2021-06-14 23:27:27.052 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.052 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.053 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.053 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.053 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.079 LabApp] 200 GET /lab/api/settings?1623706046595 (127.0.0.1) 27.84ms
[D 2021-06-14 23:27:27.081 ServerApp] Paths used for configuration of page_config:
/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:27.081 ServerApp] Paths used for configuration of page_config:
/usr/local/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:27.082 ServerApp] Paths used for configuration of page_config:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:27.082 ServerApp] Paths used for configuration of page_config:
/home/nico/.jupyter/labconfig/page_config.json
[D 2021-06-14 23:27:27.082 LabApp] Using contents: services/contents
[D 2021-06-14 23:27:27.083 LabApp] 200 GET /lab/workspaces/auto-n?reset (127.0.0.1) 2.77ms
[D 2021-06-14 23:27:27.111 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.111 ServerApp] Path main.52329a42239bdb62d87e.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/main.52329a42239bdb62d87e.js
[D 2021-06-14 23:27:27.111 ServerApp] 304 GET /static/lab/main.52329a42239bdb62d87e.js?v=52329a42239bdb62d87e (127.0.0.1) 1.05ms
[D 2021-06-14 23:27:27.112 ServerApp] 200 GET /api/terminals?1623706046632 (127.0.0.1) 1.08ms
[D 2021-06-14 23:27:27.127 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/remoteEntry.ca1efc27dc965162ca86.js (127.0.0.1) 0.69ms
[D 2021-06-14 23:27:27.154 ServerApp] Path jlab_core.64abc115a1efeec58694.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/jlab_core.64abc115a1efeec58694.js
[D 2021-06-14 23:27:27.154 ServerApp] 304 GET /static/lab/jlab_core.64abc115a1efeec58694.js?v=64abc115a1efeec58694 (127.0.0.1) 0.85ms
[D 2021-06-14 23:27:27.155 ServerApp] Path 2719.29e7b035621db4aff5f9.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/2719.29e7b035621db4aff5f9.js
[D 2021-06-14 23:27:27.155 ServerApp] 304 GET /static/lab/2719.29e7b035621db4aff5f9.js?v=29e7b035621db4aff5f9 (127.0.0.1) 0.55ms
[D 2021-06-14 23:27:27.156 ServerApp] Path 9473.64539e1390689a3437fa.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/9473.64539e1390689a3437fa.js
[D 2021-06-14 23:27:27.156 ServerApp] 304 GET /static/lab/9473.64539e1390689a3437fa.js?v=64539e1390689a3437fa (127.0.0.1) 0.62ms
[D 2021-06-14 23:27:27.157 ServerApp] Path 8173.b3cdc88dcb401955d50e.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/8173.b3cdc88dcb401955d50e.js
[D 2021-06-14 23:27:27.157 ServerApp] 304 GET /static/lab/8173.b3cdc88dcb401955d50e.js?v=b3cdc88dcb401955d50e (127.0.0.1) 0.76ms
[D 2021-06-14 23:27:27.157 ServerApp] Path 6700.f822c243014567243a45.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/6700.f822c243014567243a45.js
[D 2021-06-14 23:27:27.157 ServerApp] 304 GET /static/lab/6700.f822c243014567243a45.js?v=f822c243014567243a45 (127.0.0.1) 0.88ms
[D 2021-06-14 23:27:27.161 ServerApp] Path 4155.1eeaff1a19a1e7668778.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/4155.1eeaff1a19a1e7668778.js
[D 2021-06-14 23:27:27.161 ServerApp] 304 GET /static/lab/4155.1eeaff1a19a1e7668778.js?v=1eeaff1a19a1e7668778 (127.0.0.1) 0.61ms
[D 2021-06-14 23:27:27.163 ServerApp] Path 2156.5874bab119ec82f63eef.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/2156.5874bab119ec82f63eef.js
[D 2021-06-14 23:27:27.163 ServerApp] 304 GET /static/lab/2156.5874bab119ec82f63eef.js?v=5874bab119ec82f63eef (127.0.0.1) 1.03ms
[D 2021-06-14 23:27:27.163 ServerApp] Path 1033.c3c916187bd5ca1af850.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/1033.c3c916187bd5ca1af850.js
[D 2021-06-14 23:27:27.163 ServerApp] 304 GET /static/lab/1033.c3c916187bd5ca1af850.js?v=c3c916187bd5ca1af850 (127.0.0.1) 1.25ms
[D 2021-06-14 23:27:27.163 ServerApp] Path 4570.65a6dc1e8df29e6d6ef6.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/4570.65a6dc1e8df29e6d6ef6.js
[D 2021-06-14 23:27:27.164 ServerApp] 304 GET /static/lab/4570.65a6dc1e8df29e6d6ef6.js?v=65a6dc1e8df29e6d6ef6 (127.0.0.1) 1.40ms
[D 2021-06-14 23:27:27.164 ServerApp] Path 807.2893576cce701f892d59.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/807.2893576cce701f892d59.js
[D 2021-06-14 23:27:27.164 ServerApp] 304 GET /static/lab/807.2893576cce701f892d59.js?v=2893576cce701f892d59 (127.0.0.1) 0.58ms
[D 2021-06-14 23:27:27.166 ServerApp] Path 7409.e376ec4e4917c644dd7a.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/7409.e376ec4e4917c644dd7a.js
[D 2021-06-14 23:27:27.166 ServerApp] 304 GET /static/lab/7409.e376ec4e4917c644dd7a.js?v=e376ec4e4917c644dd7a (127.0.0.1) 1.45ms
[D 2021-06-14 23:27:27.166 ServerApp] Path 4631.d7314a0f87e485d17182.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/4631.d7314a0f87e485d17182.js
[D 2021-06-14 23:27:27.167 ServerApp] 304 GET /static/lab/4631.d7314a0f87e485d17182.js?v=d7314a0f87e485d17182 (127.0.0.1) 1.56ms
[D 2021-06-14 23:27:27.167 ServerApp] Path 7755.f8e1b362bda58bfd1192.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/7755.f8e1b362bda58bfd1192.js
[D 2021-06-14 23:27:27.167 ServerApp] 304 GET /static/lab/7755.f8e1b362bda58bfd1192.js?v=f8e1b362bda58bfd1192 (127.0.0.1) 1.63ms
[D 2021-06-14 23:27:27.167 ServerApp] Path 7294.7fac46a474d632604eb3.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/7294.7fac46a474d632604eb3.js
[D 2021-06-14 23:27:27.168 ServerApp] 304 GET /static/lab/7294.7fac46a474d632604eb3.js?v=7fac46a474d632604eb3 (127.0.0.1) 2.03ms
[D 2021-06-14 23:27:27.168 ServerApp] Path 3935.6acc295fec83da097060.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/3935.6acc295fec83da097060.js
[D 2021-06-14 23:27:27.168 ServerApp] 304 GET /static/lab/3935.6acc295fec83da097060.js?v=6acc295fec83da097060 (127.0.0.1) 2.11ms
[D 2021-06-14 23:27:27.168 ServerApp] Path 2747.4b495147989b5a9a29f8.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/2747.4b495147989b5a9a29f8.js
[D 2021-06-14 23:27:27.168 ServerApp] 304 GET /static/lab/2747.4b495147989b5a9a29f8.js?v=4b495147989b5a9a29f8 (127.0.0.1) 1.13ms
[D 2021-06-14 23:27:27.170 ServerApp] Path 1902.d5b9664dd812aa89e101.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/1902.d5b9664dd812aa89e101.js
[D 2021-06-14 23:27:27.170 ServerApp] 304 GET /static/lab/1902.d5b9664dd812aa89e101.js?v=d5b9664dd812aa89e101 (127.0.0.1) 1.51ms
[D 2021-06-14 23:27:27.170 ServerApp] Path 4429.fa7e08d5a51ece1132ad.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/4429.fa7e08d5a51ece1132ad.js
[D 2021-06-14 23:27:27.171 ServerApp] 304 GET /static/lab/4429.fa7e08d5a51ece1132ad.js?v=fa7e08d5a51ece1132ad (127.0.0.1) 1.55ms
[D 2021-06-14 23:27:27.171 ServerApp] Path 714.db04278404689f9f8301.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/714.db04278404689f9f8301.js
[D 2021-06-14 23:27:27.171 ServerApp] 304 GET /static/lab/714.db04278404689f9f8301.js?v=db04278404689f9f8301 (127.0.0.1) 1.63ms
[D 2021-06-14 23:27:27.171 ServerApp] Path 3496.74d5786b8f675b5d2543.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/3496.74d5786b8f675b5d2543.js
[D 2021-06-14 23:27:27.171 ServerApp] 304 GET /static/lab/3496.74d5786b8f675b5d2543.js?v=74d5786b8f675b5d2543 (127.0.0.1) 1.99ms
[D 2021-06-14 23:27:27.172 ServerApp] Path 911.7d289642557a8018cbaa.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/911.7d289642557a8018cbaa.js
[D 2021-06-14 23:27:27.172 ServerApp] 304 GET /static/lab/911.7d289642557a8018cbaa.js?v=7d289642557a8018cbaa (127.0.0.1) 2.04ms
[D 2021-06-14 23:27:27.172 ServerApp] Path 126.c560e3971209c7f561f6.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/126.c560e3971209c7f561f6.js
[D 2021-06-14 23:27:27.172 ServerApp] 304 GET /static/lab/126.c560e3971209c7f561f6.js?v=c560e3971209c7f561f6 (127.0.0.1) 1.12ms
[D 2021-06-14 23:27:27.174 ServerApp] Path 1249.d0e24983cd0b70b76d69.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/1249.d0e24983cd0b70b76d69.js
[D 2021-06-14 23:27:27.174 ServerApp] 304 GET /static/lab/1249.d0e24983cd0b70b76d69.js?v=d0e24983cd0b70b76d69 (127.0.0.1) 1.65ms
[D 2021-06-14 23:27:27.174 ServerApp] Path 1358.5d13bafd71e17aa4c0e6.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/1358.5d13bafd71e17aa4c0e6.js
[D 2021-06-14 23:27:27.175 ServerApp] 304 GET /static/lab/1358.5d13bafd71e17aa4c0e6.js?v=5d13bafd71e17aa4c0e6 (127.0.0.1) 1.72ms
[D 2021-06-14 23:27:27.175 ServerApp] Path 1641.2060d65747c56800f9cc.js served from /home/nico/.local/anaconda3/share/jupyter/lab/static/1641.2060d65747c56800f9cc.js
[D 2021-06-14 23:27:27.175 ServerApp] 304 GET /static/lab/1641.2060d65747c56800f9cc.js?v=2060d65747c56800f9cc (127.0.0.1) 1.82ms
[D 2021-06-14 23:27:27.297 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/638.f3e5e34a28f3334d4f08.js (127.0.0.1) 0.63ms
[D 2021-06-14 23:27:27.298 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/243.6c384ff2649ef572a18a.js (127.0.0.1) 1.06ms
[D 2021-06-14 23:27:27.299 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/803.b7b75bd6e7977a648c67.js (127.0.0.1) 1.12ms
[D 2021-06-14 23:27:27.301 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/523.fa256ee012d38a89b65a.js (127.0.0.1) 1.38ms
[D 2021-06-14 23:27:27.301 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/272.2a8425db7209008188fc.js (127.0.0.1) 1.47ms
[D 2021-06-14 23:27:27.301 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/18.5fbcd9c56ded92ea9df9.js (127.0.0.1) 1.56ms
[D 2021-06-14 23:27:27.302 ServerApp] 304 GET /lab/extensions/@jupyter-widgets/jupyterlab-manager/static/279.aa88a78c8bf62c65db54.js (127.0.0.1) 1.63ms
[D 2021-06-14 23:27:27.333 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.333 ServerApp] Found kernel python3 in /home/nico/.local/anaconda3/share/jupyter/kernels
[D 2021-06-14 23:27:27.334 ServerApp] 200 GET /api/kernelspecs?1623706046876 (127.0.0.1) 1.48ms
[D 2021-06-14 23:27:27.336 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.336 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.337 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.337 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.337 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:27.350 LabApp] 200 GET /lab/api/settings?1623706046880 (127.0.0.1) 14.63ms
[D 2021-06-14 23:27:27.351 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.351 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.351 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.352 ServerApp] 200 GET /api/kernels?1623706046891 (127.0.0.1) 1.33ms
[D 2021-06-14 23:27:27.353 ServerApp] 200 GET /api/sessions?1623706046891 (127.0.0.1) 1.45ms
[D 2021-06-14 23:27:27.353 ServerApp] 200 GET /api/terminals?1623706046891 (127.0.0.1) 1.54ms
[D 2021-06-14 23:27:27.435 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:27.436 ServerApp] Found kernel python3 in /home/nico/.local/anaconda3/share/jupyter/kernels
[D 2021-06-14 23:27:27.436 ServerApp] 200 GET /api/kernelspecs?1623706046979 (127.0.0.1) 1.22ms
[D 2021-06-14 23:27:28.410 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:28.871 ServerApp] 200 GET /lab/api/translations/en?1623706047954 (127.0.0.1) 460.80ms
[D 2021-06-14 23:27:28.887 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:28.890 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:28.891 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:28.892 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:28.892 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:28.892 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.169 ServerApp] 200 GET /lab/api/translations/?1623706048433 (127.0.0.1) 279.74ms
[D 2021-06-14 23:27:29.170 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.170 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.171 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.171 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.172 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.172 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.173 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.173 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.174 ServerApp] 200 GET /lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1623706048443 (127.0.0.1) 3.79ms
[D 2021-06-14 23:27:29.512 ServerApp] 200 GET /api/nbconvert?1623706048452 (127.0.0.1) 342.13ms
[D 2021-06-14 23:27:29.796 ServerApp] 200 GET /api/nbconvert?1623706048466 (127.0.0.1) 624.85ms
[D 2021-06-14 23:27:29.797 LabApp] 200 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1623706048533 (127.0.0.1) 625.72ms
[W 2021-06-14 23:27:29.798 LabApp] Could not determine jupyterlab build status without nodejs
[D 2021-06-14 23:27:29.798 ServerApp] Path @jupyterlab/theme-light-extension/index.css served from /home/nico/.local/anaconda3/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css
[D 2021-06-14 23:27:29.798 ServerApp] 304 GET /lab/api/themes/@jupyterlab/theme-light-extension/index.css (127.0.0.1) 1.17ms
[D 2021-06-14 23:27:29.798 LabApp] 200 GET /lab/api/build?1623706048430 (127.0.0.1) 911.98ms
[D 2021-06-14 23:27:29.799 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.800 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.800 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.800 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.801 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.802 LabApp] 200 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1623706048534 (127.0.0.1) 2.84ms
[D 2021-06-14 23:27:29.851 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.852 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.852 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.853 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.853 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.866 LabApp] 200 GET /lab/api/settings?1623706049395 (127.0.0.1) 14.99ms
[D 2021-06-14 23:27:29.916 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:29.917 ServerApp] Paths used for configuration of default_setting_overrides:
/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.918 ServerApp] Paths used for configuration of default_setting_overrides:
/usr/local/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.918 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.local/anaconda3/etc/jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.918 ServerApp] Paths used for configuration of default_setting_overrides:
/home/nico/.jupyter/labconfig/default_setting_overrides.json
[D 2021-06-14 23:27:29.919 LabApp] 200 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1623706049461 (127.0.0.1) 3.04ms
[D 2021-06-14 23:27:30.381 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:30.382 LabApp] 204 PUT /lab/api/workspaces/auto-n?1623706049924 (127.0.0.1) 1.32ms
[D 2021-06-14 23:27:30.425 ServerApp] Serving kernel resource from: /home/nico/.local/anaconda3/share/jupyter/kernels/python3
[D 2021-06-14 23:27:30.425 ServerApp] 304 GET /kernelspecs/python3/logo-64x64.png (127.0.0.1) 1.33ms
[D 2021-06-14 23:27:30.426 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:30.428 ServerApp] 200 GET /api/contents?content=1&1623706049958 (127.0.0.1) 1.85ms
[D 2021-06-14 23:27:30.929 ServerApp] Accepting token-authenticated connection from 127.0.0.1
[D 2021-06-14 23:27:30.930 LabApp] 204 PUT /lab/api/workspaces/auto-n?1623706050471 (127.0.0.1) 1.31ms

Command Line after a single `Ctrl+C`
[I 2021-06-14 22:57:04.297 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
^C[I 2021-06-14 22:57:05.109 ServerApp] interrupted
Serving notebooks from local directory: /home/nico/.jupyter
0 active kernels
Jupyter Server 1.4.1 is running at:
http://localhost:8888/lab?token=b726a1d4a65e3fb688e22074f6fb36ef12d4fb019e1cbf3b
 or http://127.0.0.1:8888/lab?token=b726a1d4a65e3fb688e22074f6fb36ef12d4fb019e1cbf3b
Shutdown this Jupyter server (y/[n])? [C 2021-06-14 22:57:05.856 ServerApp]
To access the server, open this file in a browser:
    file:///home/nico/.local/share/jupyter/runtime/jpserver-8533-open.html
Or copy and paste one of these URLs:
    http://localhost:8888/lab?token=b726a1d4a65e3fb688e22074f6fb36ef12d4fb019e1cbf3b
 or http://127.0.0.1:8888/lab?token=b726a1d4a65e3fb688e22074f6fb36ef12d4fb019e1cbf3b

No answer for 5s: resuming operation...

Command Line Output after double `Ctrl+C`
[I 2021-06-14 23:00:54.330 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
^C[I 2021-06-14 23:00:55.129 ServerApp] interrupted
Serving notebooks from local directory: /home/nico/.jupyter
0 active kernels
Jupyter Server 1.4.1 is running at:
http://localhost:8888/lab?token=f2ef5934d14dc463a522a0b9ff6bfe83daa9573b47b076ed
 or http://127.0.0.1:8888/lab?token=f2ef5934d14dc463a522a0b9ff6bfe83daa9573b47b076ed
Shutdown this Jupyter server (y/[n])? ^C[C 2021-06-14 23:00:55.456 ServerApp] received signal 2, stopping
Traceback (most recent call last):
  File "/home/nico/.local/anaconda3/lib/python3.8/genericpath.py", line 19, in exists
    os.stat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/konqueror'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/nico/.local/anaconda3/bin/jupyter-lab", line 10, in
sys.exit(main())
File "/home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyter_server/extension/application.py", line 520, in launch_instance
serverapp.start()
File "/home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 2100, in start
self.start_app()
File "/home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 2059, in start_app
self.launch_browser()
File "/home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 2018, in launch_browser
browser = webbrowser.get(self.browser or None)
File "/home/nico/.local/anaconda3/lib/python3.8/webbrowser.py", line 42, in get
register_standard_browsers()
File "/home/nico/.local/anaconda3/lib/python3.8/webbrowser.py", line 559, in register_standard_browsers
register_X_browsers()
File "/home/nico/.local/anaconda3/lib/python3.8/webbrowser.py", line 494, in register_X_browsers
elif shutil.which("konqueror"):
File "/home/nico/.local/anaconda3/lib/python3.8/shutil.py", line 1431, in which
if _access_check(name, mode):
File "/home/nico/.local/anaconda3/lib/python3.8/shutil.py", line 1351, in _access_check
return (os.path.exists(fn) and os.access(fn, mode)
File "/home/nico/.local/anaconda3/lib/python3.8/genericpath.py", line 19, in exists
os.stat(path)
File "/home/nico/.local/anaconda3/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 1614, in _signal_stop
self.io_loop.add_callback_from_signal(self.io_loop.stop)
AttributeError: 'ServerApp' object has no attribute 'io_loop'

Browser Output
No Output.
@welcome
Copy link

welcome bot commented Jun 14, 2021

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

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.
welcome
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! 👋

Welcome to the Jupyter community! 🎉

@fcollonval
Copy link
Member

Hey @NicoJG

Are you using a browser on Windows or on Ubuntu. I would strongly recommend starting JupyterLab without opening a browser (see open_browser configuration option or --no-browser cli argument). And open the URL in a Windows webbrowser.

I do that since years, never have any issue.

@NicoJG
Copy link
Author

NicoJG commented Jun 15, 2021

Are you using a browser on Windows or on Ubuntu.

I am using Firefox on Windows, which is (probably) opened via wslview.
And it works with JupyterLab and JupyterNotebook, but there is some bug, that prevents the CLI to advance.
I don't know which check is made for tcgetpgrp failed: Not a tty, but if this check would not exist I think everything would work just fine.

I would strongly recommend starting JupyterLab without opening a browser (see open_browser configuration option or --no-browser cli argument). And open the URL in a Windows webbrowser.

I forgot to mention that...
If I start JupyterLab or JupyterNotebook with --no-browser, it works perfectly as intended and starts in seconds rather than minutes.
So it is not a bug that makes JupyterLab unusable, but just out of convenience it would be nice if the browser starts automatically.
Also: people who are new to Unix and/or Jupyter might get confused by this and choose to stay with Python Scripts rather than Notebooks. (I experienced this with a friend)

@fcollonval
Copy link
Member

If I start JupyterLab or JupyterNotebook with --no-browser, it works perfectly as intended and starts in seconds rather than minutes.

So this is not related to jupyter and it is linked to WSL machinery.

So it is not a bug that makes JupyterLab unusable, but just out of convenience it would be nice if the browser starts automatically.

Using WSL is pretty advanced, there will be no support of virtual machines as you can use the native version and there are too many virtual technology out there.

Also: people who are new to Unix and/or Jupyter might get confused by this and choose to stay with Python Scripts rather than Notebooks. (I experienced this with a friend)

I would definitely not recommend for beginners to use virtual machines.

@fcollonval fcollonval added the status:Closing as Answered The issue will be closed soon as answered unless there is further follow-up. label Jun 15, 2021
@jasongrout jasongrout added the status:Answered The issue has been answered by a community member. label Sep 30, 2021
@github-actions github-actions bot closed this as completed Oct 7, 2021
@atimeofday
Copy link

Any luck with this issue? I am having a similar but not identical issue where --no-browser prevents the tcgetpgrp error, but WSL still hangs and fails to provide a command prompt while a Jupyter server is running. This is the only related thread or resource I've been able to find.

@NicoJG
Copy link
Author

NicoJG commented Feb 5, 2022

I am still having this issue, even after a clean installation of Windows 10 and WSL (with Anaconda).
I am still not happy that this issue got dismissed as "linked to WSL machinery", because many people use WSL to program in Python, and it is not something that the Devs of WSL could fix, only Jupyter could fix this.

Fix (somewhat)

What "fixed it" for me was to either to use $ jupyter lab --no-browser or to insert c.LabApp.open_browser = False into ~/.jupyter/jupyter_lab_config.py.
This way the server instantly starts, and I can instantly open Jupyter Lab in my browser, by Ctrl-clicking on the link. (using Windows Terminal)

Bug description

If I don't use this option, I can weirdly start the server instantly by pressing Ctrl-C once after Use Control-C to stop this server and shut down all kernels (twice to skip confirmation)., but it won't open Jupyter Lab in the browser automatically.
This would be okay, but after a few minutes, the tcgetpgrp error randomly shows up and Jupyter Lab opens in my browser again.
And even more weird is that this even happens when I already closed the server completely.

When I open and close a few Jupyter Lab instances one after another and let the last one run, then after a few minutes the tcgetpgrp error appears as many times as I opened instances, and it even opens as many tabs in my browser correctly displaying Jupyter Lab.

This whole bug seems so avoidable to me. Jupyter waits for a response of something and instantly continues if the user "threatens to interrupt" using Ctrl-C. Then it waits for some tcgetpgrp response, even though the server is running just fine already.
After it decides to abandon its wait for the response, it opens Jupyter Lab in the browser and everything works fine.
There are two "waiting for a response" operations that seem pretty useless to me, because even if it fails, it works just fine.

Important Notes:

  • With WSL1 I did not have this problem. Only in WSL2 this bug exists.
  • Opening Jupyter in the browser automatically only works if I either use c.LabApp.use_redirect_file = False or c.ServerApp.use_redirect_file = False in the config files.
    Else, the tcgetpgrp error still appears, but there is another error about not finding a file.

@NicoJG
Copy link
Author

NicoJG commented Feb 5, 2022

@atimeofday

Any luck with this issue? I am having a similar but not identical issue where --no-browser prevents the tcgetpgrp error, but WSL still hangs and fails to provide a command prompt while a Jupyter server is running. This is the only related thread or resource I've been able to find.

This behaviour is kind of intended. While the Jupyter Server is running, there should be no command prompt.
You have to open a new terminal to use commands.

@atimeofday
Copy link

atimeofday commented Feb 5, 2022

@NicoJG Good to know how it looks on your end. I think we're getting different but related bugs, possibly due to me being on Windows 11. I actually managed to get help from a Discord server I'm on (for the Obsidian notetaking app), which may or may not solve the underlying issue, but seems to make everything work right for me. Here's the script I'm using, with identifying information obfuscated:

alias env123="cd '/mnt/d/documents/abc/s2022/abcd 123' && conda activate abcd123 && xdg-open http://localhost:8888/?token=[etc] && jupyter notebook --no-browser &"

Jupyter still hangs the current process when started, so it has to be the last command. However, xdg-open takes a second or two to open a link in browser, so it seems to work out. Your original and reiterated mention of --no-browser allowed me to find this post by the tcgetpgrp error, and it does clean up the output of starting jupyter for me.

The key to making the prompt work right was the &.

Adding & to jupyter notebook starts it in the background, so it doesn't take over the prompt, then fg or ps can be used to foreground it in order to close it. I have to press enter once after the script runs to get a prompt, but it works, and that might even be scriptable if it's an annoyance.

Let me know if this works on your end!

@NicoJG
Copy link
Author

NicoJG commented Feb 5, 2022

@atimeofday interesting solution. I would suggest using wslview instead of xdg-open. I think this is a bit faster, but it will obviously only work on WSL.

I did not know about the & option, fg and ps. Good to know, but I'm ok with Jupyter blocking the terminal and this is not a bug.

@dimpase
Copy link

dimpase commented Mar 30, 2022

So this is not related to jupyter and it is linked to WSL machinery.

This is not correct; this issue is not WSL-specific. The problem is that by default jupyter(lab) attempts communication via temporary files. This is bound to be a trouble, e.g. due to sandboxing of browsers: similar issues are mentioned for running notebooks on Ubunty with snap-installed Firefox (which doesn't see user's dotfiles), or on ChromeOS (where jupyter is run in a Linux VM, and uses host (ChromeOS) browser.

I would definitely not recommend for beginners to use virtual machines.

Quite a few projects using jupyter do not run natively on the OS of the browser, be it Windows, or ChromeOS.
Then, yes, VM is the only way - or think about using Jupyter from a Docker container.
So that's beside the point - VMs are here, they are getting easier to use everyday, and may be the only way to run something,
no matter whether one is a beginner or an expert.

@fcollonval @jasongrout - can this be re-opened?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:Answered The issue has been answered by a community member. status:Closing as Answered The issue will be closed soon as answered unless there is further follow-up.
Projects
None yet
Development

No branches or pull requests

5 participants