Git Product home page Git Product logo

Comments (4)

marthacryan avatar marthacryan commented on July 18, 2024

How did you install JupyterLab?
Try:
pip install jupyterlab
Then, when it's done,
jupyter lab
Be careful to include a space between jupyter and lab in the command above

Then, to install this extension, run jupyter labextension install @jupyterlab/toc. Does that work? Do you see any errors when you run the steps above?

from jupyterlab-toc.

forest-jiang avatar forest-jiang commented on July 18, 2024

I used pip3 install jupyterlab to install and then it says "-bash: jupyter: command not found". I cannot use "pip" to install because:

Traceback (most recent call last):
File "/usr/local/bin/pip", line 6, in
from pip._internal.cli.main import main
ModuleNotFoundError: No module named 'pip._internal.cli.main'

from jupyterlab-toc.

marthacryan avatar marthacryan commented on July 18, 2024

Looks like this addresses your issue: https://pypi.org/project/jupyterlab/#:~:text=If%20you%20encounter%20an%20error,changing%20the%20PATH%20environment%20variable.

Try running ~/.local/bin/jupyter lab to start JupyterLab and if that works, run ~/.local/bin/jupyter labextension install @jupyterlab/toc.

from jupyterlab-toc.

forest-jiang avatar forest-jiang commented on July 18, 2024

That doesn't work for me. But I found a bunch of Unix executables named "jupyter-*" including "jupyter-labextension" so this command works for me:
sudo jupyter-labextension install @jupyterlab/toc

from jupyterlab-toc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.