-
Notifications
You must be signed in to change notification settings - Fork 293
Install and Setup Jupyter Notebook Lab for Testing
Don Jayamanne edited this page Aug 28, 2023
·
2 revisions
- Install Python on your machine (preferably from https://www.python.org/downloads/) Note: Ananconda/Miniconda/PyEnv are other great (if not better) options.
- Create a new folder
- Open folder in VS Code, with Python extension installed
- Run
Python: Create Environment...
, choosevenv
and your default Python installation - Open a new Terminal
- Run
python -m pip install jupyter
python -m pip install jupyterlab jupyter notebook
- Start Jupyter Notebook
python -m jupyter notebook --NotebookApp.allow_origin='*'
- Start Jupyter Lab
python -m jupyter lab --NotebookApp.allow_origin='*'
- Start Jupyter Lab with a specific token
python -m jupyter lab --NotebookApp.allow_origin='*' --NotebookApp.token=ABCD
- Start Jupyter Lab with an empty token
python -m jupyter lab --NotebookApp.allow_origin='*' --NotebookApp.token=
- Start Jupyter Lab with an empty password and empty token
python -m jupyter lab --NotebookApp.allow_origin='*' --NotebookApp.token= --NotebookApp.password=
- Start Jupyter Lab with a specific Password = 'Hello'
First generate the hash of the passwordHello
python -c "from notebook.auth import passwd;print(passwd('Hello', 'sha1'))"
sha1:f38e2e15d770:b97ffda8260e04ab8123b67eea9989764bf9690b
Use the output from the previous step to pass the hashed password as follows:
python -m jupyter lab --NotebookApp.allow_origin='*' --NotebookApp.password=sha1:f38e2e15d770:b97ffda8260e04ab8123b67eea9989764bf9690b
- Contribution
- Source Code Organization
- Coding Standards
- Profiling
- Coding Guidelines
- Component Governance
- Writing tests
- Kernels
- Intellisense
- Debugging
- IPyWidgets
- Extensibility
- Module Dependencies
- Errors thrown
- Jupyter API
- Variable fetching
- Import / Export
- React Webviews: Variable Viewer, Data Viewer, and Plot Viewer
- FAQ
- Kernel Crashes
- Jupyter issues in the Python Interactive Window or Notebook Editor
- Finding the code that is causing high CPU load in production
- How to install extensions from VSIX when using Remote VS Code
- How to connect to a jupyter server for running code in vscode.dev
- Jupyter Kernels and the Jupyter Extension