debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Interface not showing up after 2nd installation

Open urfdvw opened this issue 4 years ago • 7 comments

When I first installed it in Jupyter lab 1.2.6, it actually worked. But Is see 2.0 version is required. So I uninstalled the extension by extension manager and then upgrade jupyter lab by conda upgrade. Now I am in jupyter lab 2.1.1, but when I reinstalled it from extension manager, the debug interface does not show up. I tried jupyter lab build, but nothing happend. Did I miss any thing?

Thanks!

urfdvw avatar May 02 '20 18:05 urfdvw

@urfdvw are you using the xeus-python kernel?

SylvainCorlay avatar May 02 '20 19:05 SylvainCorlay

@SylvainCorlay Thanks for your response. Yes, but not in a separate conda env. I thinks I have all the requirement ready, because it worked well once with jupyter lab 1.2.6. But re installation does not work. I can see it in my extension management

image

But cannot see the debug section on the right

image

jupyter labextension list gives

JupyterLab v2.1.1
Known labextensions:
   app dir: /home/river/miniconda3/share/jupyter/lab
        @jupyterlab/debugger v0.2.0  enabled  OK

Uninstalled core extensions:
    @jupyterlab/debugger
    @lckr/jupyterlab_variableinspector

And if it is necessary here is my conda list, everything in (base):

# packages in environment at /home/river/miniconda3:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
astroid                   2.3.3                    py37_1    conda-forge
attrs                     19.3.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bleach                    3.1.4              pyh9f0ad1d_0    conda-forge
brotlipy                  0.7.0           py37h8f50634_1000    conda-forge
ca-certificates           2020.4.5.1           hecc5488_0    conda-forge
certifi                   2020.4.5.1       py37hc8dfbb8_0    conda-forge
cffi                      1.14.0           py37hd463f26_0    conda-forge
chardet                   3.0.4           py37hc8dfbb8_1006    conda-forge
conda                     4.8.3            py37hc8dfbb8_1    conda-forge
conda-package-handling    1.6.0            py37h8f50634_2    conda-forge
cryptography              2.9.2            py37hb09aad4_0    conda-forge
cudatoolkit               10.1.243             h6bb024c_0  
cycler                    0.10.0                     py_2    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
entrypoints               0.3             py37hc8dfbb8_1001    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.1               he06d7ca_0    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
glib                      2.64.2               h6f030ca_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_2    conda-forge
gstreamer                 1.14.5               h36ae1b5_2    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.9                        py_1    conda-forge
importlib-metadata        1.6.0            py37hc8dfbb8_0    conda-forge
importlib_metadata        1.6.0                         0    conda-forge
ipykernel                 5.2.1            py37h43977f1_0    conda-forge
ipython                   7.14.0           py37hc8dfbb8_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
isort                     4.3.21           py37hc8dfbb8_1    conda-forge
jedi                      0.15.2                   py37_0    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
joblib                    0.14.1                     py_0    conda-forge
jpeg                      9c                h14c3975_1001    conda-forge
json5                     0.9.0                      py_0    conda-forge
jsonschema                3.2.0            py37hc8dfbb8_1    conda-forge
jupyter_client            6.1.3                      py_0    conda-forge
jupyter_core              4.6.3            py37hc8dfbb8_1    conda-forge
jupyterlab                2.1.1                      py_0    conda-forge
jupyterlab_server         1.1.1                      py_0    conda-forge
kiwisolver                1.2.0            py37h99015e2_0    conda-forge
lazy-object-proxy         1.4.3            py37h8f50634_2    conda-forge
ld_impl_linux-64          2.34                 h53a641e_0    conda-forge
libblas                   3.8.0               16_openblas    conda-forge
libcblas                  3.8.0               16_openblas    conda-forge
libclang                  9.0.1           default_hde54327_0    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgfortran-ng            7.3.0                hdf63c60_5    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
liblapack                 3.8.0               16_openblas    conda-forge
libllvm9                  9.0.1                he513fc3_1    conda-forge
libopenblas               0.3.9                h5ec1e0e_0    conda-forge
libpng                    1.6.37               hed695b0_1    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libtiff                   4.1.0                hc7e4089_6    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libuv                     1.34.0               h516909a_0    conda-forge
libwebp-base              1.1.0                h516909a_3    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxkbcommon              0.10.0               he1b5a44_0    conda-forge
libxml2                   2.9.10               hee79883_0    conda-forge
llvm-openmp               10.0.0               hc9558a2_0    conda-forge
lz4-c                     1.9.2                he1b5a44_0    conda-forge
markupsafe                1.1.1            py37h8f50634_1    conda-forge
matplotlib                3.2.1                         0    conda-forge
matplotlib-base           3.2.1            py37h30547a4_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py37h8f50634_1001    conda-forge
mkl                       2020.1                      217    conda-forge
nbconvert                 5.6.1            py37hc8dfbb8_1    conda-forge
nbformat                  5.0.6                      py_0    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
ninja                     1.10.0               hc9558a2_0    conda-forge
nodejs                    13.13.0              hf5d1a2b_0    conda-forge
notebook                  6.0.3                    py37_0    conda-forge
nspr                      4.25                 he1b5a44_0    conda-forge
nss                       3.47                 he751ad9_0    conda-forge
numpy                     1.18.1           py37h8960a57_1    conda-forge
olefile                   0.46                       py_0    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
pandas                    1.0.3            py37h0da4684_1    conda-forge
pandoc                    2.9.2.1                       0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.7.0              pyh9f0ad1d_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pexpect                   4.8.0            py37hc8dfbb8_1    conda-forge
pickleshare               0.7.5           py37hc8dfbb8_1001    conda-forge
pillow                    7.1.2            py37h718be6c_0    conda-forge
pip                       20.1               pyh9f0ad1d_0    conda-forge
prometheus_client         0.7.1                      py_0    conda-forge
prompt-toolkit            3.0.5                      py_0    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
ptvsd                     4.3.2            py37h516909a_1    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pycosat                   0.6.3           py37h8f50634_1004    conda-forge
pycparser                 2.20                       py_0    conda-forge
pygments                  2.6.1                      py_0    conda-forge
pylint                    2.4.4                    py37_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.12.3           py37h8685d9f_2    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pyrsistent                0.16.0           py37h8f50634_0    conda-forge
pysocks                   1.7.1            py37hc8dfbb8_1    conda-forge
python                    3.7.6           h8356626_5_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.7                     1_cp37m    conda-forge
pytorch                   1.4.0           py3.7_cuda10.1.243_cudnn7.6.3_0    pytorch
pytz                      2020.1             pyh9f0ad1d_0    conda-forge
pyzmq                     19.0.0           py37hac76be4_1    conda-forge
qt                        5.12.5               hd8c4c69_1    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
requests                  2.23.0             pyh8c360ce_2    conda-forge
ruamel_yaml               0.15.80         py37h8f50634_1001    conda-forge
scikit-learn              0.22.2.post1     py37hcdab131_0    conda-forge
scipy                     1.4.1            py37ha3d9a3c_3    conda-forge
selenium                  3.141.0         py37h8f50634_1001    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                46.1.3           py37hc8dfbb8_0    conda-forge
six                       1.14.0                     py_1    conda-forge
sqlite                    3.30.1               hcee41ef_0    conda-forge
terminado                 0.8.3            py37hc8dfbb8_1    conda-forge
testpath                  0.4.4                      py_0    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
torchvision               0.5.0                py37_cu101    pytorch
tornado                   6.0.4            py37h8f50634_1    conda-forge
tqdm                      4.45.0             pyh9f0ad1d_1    conda-forge
traitlets                 4.3.3            py37hc8dfbb8_1    conda-forge
typed-ast                 1.4.1            py37h516909a_0    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
wcwidth                   0.1.9              pyh9f0ad1d_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.34.2                     py_1    conda-forge
wrapt                     1.12.1           py37h8f50634_1    conda-forge
xeus                      0.23.13              h4d8c418_0    conda-forge
xeus-python               0.7.1            py37h99015e2_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xz                        5.2.5                h516909a_0    conda-forge
yaml                      0.2.4                h516909a_0    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zipp                      3.1.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1006    conda-forge
zstd                      1.4.4                h6597ccf_3    conda-forge

urfdvw avatar May 02 '20 21:05 urfdvw

@urfdvw are you able to test again with the latest xeus-python>=0.8 and @jupyterlab/[email protected]?

As an alternative, it is also possible to use the JupyterLab 3.0.0rc1 release, which includes the debugger extension by default:

python -m pip install --pre jupyterlab

jtpio avatar Sep 29 '20 10:09 jtpio

In build_config.json, (in my computer the file was in \share\jupyter\lab\settings of python directory ) remove "@jupyterlab/debugger" from the "uninstalled_core_extensions". Change it to this -

{
    "uninstalled_core_extensions": [
       
    ]
}

After this, run the below commands & start jupyter lab

jupyter lab clean 
jupyter lab build 

trupti-shetty avatar Oct 28 '20 10:10 trupti-shetty

That worked for me, but I've rather updated the build_config.json in my local anaconda installation: env: anaconda3/envs/my_env_name/share/jupyter/lab/settings/build_config.json

oraby avatar Nov 04 '20 14:11 oraby

In build_config.json, (in my computer the file was in \share\jupyter\lab\settings of python directory ) remove "@jupyterlab/debugger" from the "uninstalled_core_extensions". Change it to this -

{
    "uninstalled_core_extensions": [
       
    ]
}

After this, run the below commands & start jupyter lab

jupyter lab clean 
jupyter lab build 

Thanks a lot @Trupti94 it worked for me too.

prateekjjw001 avatar Nov 10 '20 22:11 prateekjjw001

In build_config.json, (in my computer the file was in \share\jupyter\lab\settings of python directory ) remove "@jupyterlab/debugger" from the "uninstalled_core_extensions". Change it to this -

{
    "uninstalled_core_extensions": [
       
    ]
}

After this, run the below commands & start jupyter lab

jupyter lab clean 
jupyter lab build 

Hi I had the same error here but it seems this did not work for me.Would you mind taking a look at it? My jupyter lab extension list gives:

JupyterLab v2.1.5
Known labextensions:
   app dir: /home/local/users/gz2294/anaconda3/share/jupyter/lab
        @jupyterlab/debugger v0.2.0  enabled  OK

Thank you!

zhongguojie1998 avatar Apr 22 '21 14:04 zhongguojie1998