question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

not working nor showing in the jupterlab 2

See original GitHub issue

Hello,

Checklist prior to opening an issue

  • I have followed fully the installation steps laid out in the documentation site.
  • I have restarted jupyterlab.
  • I have read the FAQ section in the documentation site.

Describe the bug So I installed the formatter, restarted jupyter lab, but I cannot see the format button in the taskbar, nor in the context menu after right-click. As if nothing was installed.

Diagnostic commands Please attach the output of the following commands (please format them properly)

  • pip freeze
absl-py==0.9.0
anytree==2.8.0
appdirs==1.4.3
appnope==0.1.0
astor==0.8.1
attrs==19.3.0
backcall==0.1.0
black==19.10b0
bleach==3.1.1
cachetools==4.0.0
certifi==2019.11.28
chardet==3.0.4
click==7.1.1
cloudpickle==1.3.0
cycler==0.10.0
decorator==4.4.2
defusedxml==0.6.0
dill==0.3.1.1
entrypoints==0.3
flake8==3.7.9
gast==0.2.2
google-auth==1.11.3
google-auth-oauthlib==0.4.1
google-pasta==0.2.0
gpflow==2.0.0rc1
grpcio==1.27.2
h5py==2.10.0
idna==2.9
importlib-metadata==1.5.0
ipykernel==5.1.4
ipython==7.13.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.16.0
Jinja2==2.11.1
joblib==0.14.1
json5==0.9.2
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==6.0.0
jupyter-console==6.1.0
jupyter-core==4.6.3
jupyterlab==2.0.1
jupyterlab-code-formatter==1.2.2
jupyterlab-server==1.0.7
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
Markdown==3.2.1
MarkupSafe==1.1.1
matplotlib==3.2.0
mccabe==0.6.1
mistune==0.8.4
more-itertools==8.2.0
multipledispatch==0.6.0
multiprocess==0.70.9
nbconvert==5.6.1
nbformat==5.0.4
notebook==6.0.3
numexpr==2.7.1
numpy==1.18.1
oauthlib==3.1.0
opt-einsum==3.2.0
packaging==20.3
pandas==1.0.2
pandocfilters==1.4.2
parso==0.6.2
pathos==0.2.5
pathspec==0.7.0
pexpect==4.8.0
pickleshare==0.7.5
pluggy==0.13.1
pox==0.2.7
ppft==1.6.6.1
prometheus-client==0.7.1
prompt-toolkit==3.0.4
protobuf==3.11.3
ptyprocess==0.6.0
py==1.8.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pyflakes==2.1.1
Pygments==2.6.1
pygpso==0.3
pyparsing==2.4.6
pyrsistent==0.15.7
pytest==5.4.1
python-dateutil==2.8.1
python-igraph==0.8.0
pytz==2019.3
pyzmq==19.0.0
qtconsole==4.7.1
QtPy==1.9.0
regex==2020.2.20
requests==2.23.0
requests-oauthlib==1.3.0
rsa==4.0
scikit-learn==0.22.2.post1
scipy==1.4.1
Send2Trash==1.5.0
six==1.14.0
tables==3.6.1
tabulate==0.8.6
tensorboard==2.1.1
tensorflow==2.1.0
tensorflow-estimator==2.1.0
tensorflow-probability==0.9.0
termcolor==1.1.0
terminado==0.8.3
testpath==0.4.4
texttable==1.6.2
toml==0.10.0
tornado==6.0.4
traitlets==4.3.3
typed-ast==1.4.1
urllib3==1.25.8
wcwidth==0.1.8
webencodings==0.5.1
Werkzeug==1.0.0
widgetsnbextension==3.5.1
wrapt==1.12.1
zipp==3.1.0
  • jupyter labextension list
JupyterLab v2.0.1
Known labextensions:
   app dir: /Users/nikola/.virtualenvs/pygpso/share/jupyter/lab
        @ryantam626/jupyterlab_code_formatter v1.2.2  enabled  OK

Uninstalled core extensions:
    @ryantam626/jupyterlab_code_formatter
  • jupyter serverextension list
config dir: /Users/nikola/.jupyter
    jupyterlab_code_formatter  enabled
    - Validating...
      jupyterlab_code_formatter  OK
config dir: /Users/nikola/.virtualenvs/pygpso/bin/../etc/jupyter
    jupyterlab  enabled
    - Validating...
      jupyterlab 2.0.1 OK
config dir: /usr/local/etc/jupyter
    jupyterlab_code_formatter  enabled
    - Validating...
      jupyterlab_code_formatter  OK

Screenshots Screenshot 2020-03-18 at 23 06 57

Additional context Add any other context about the problem here.

Thanks for your time!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ryantam626commented, Mar 20, 2020

Hi @jajcayn, that’s a bit concerning, from the diagnostic commands output you posted, it should have worked… Is there anything weird in the terminal you launched jupyterlab? And also any weird in the console of your browser?

EDIT: Actually why is there a

Uninstalled core extensions:
    @ryantam626/jupyterlab_code_formatter

🤔

0reactions
ryantam626commented, Mar 20, 2020

Is the docs not clear? Please submit a PR if so 🙏 The need for changing the default formatter is documented here

And the keyboard shortcuts is because you didn’t change it to jupyterlab_code_formatter:autopep8

Please please please open a new issue next time, I don’t like commenting on closed issue especially when it’s not related to the original issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Jupyter Lab Window Not Showing Properly - Stack Overflow
Finally, I managed to run it by uninstalling the pip installer version and using the conda installer version:
Read more >
Jupyter lab extensions not working · Issue #8122 - GitHub
I installed jupyter lab extensions, which are enabled, but do not work. They appear in the extension manager, but still then they do...
Read more >
What to do when things go wrong - The Jupyter Notebook
Jupyter doesn't load or doesn't work in the browser · Try in another browser (e.g. if you normally use Firefox, try...
Read more >
Using the JupyterLab Environment | ArcGIS API for Python
JupyterLab is a modern interactive development environment (IDE) that allows you to work with code, data, and the Jupyter notebook format.
Read more >
Jupyter not showing output – Q&A Hub | 365 Data Science
Jupyter not showing output. in Python Programmer Bootcamp / Binary search. I replicated the linear search and the binary search functions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found