Posts

Showing posts from August, 2025

Jupyter Lab Configurations

Image
To list all installed kernels in your JupyterLab system, open a terminal or command prompt and run bash jupyter kernelspec list ----------------------------------------------------------------------------------------------------------------------------- Creating new Kernel for specific purpose 1. Create and Activate a Virtual Environment bash python -m venv .venv source .venv/bin/activate # On macOS/Linux .venv \ Scripts \ activate # On Windows 2. Install IPython Kernel in the Environment bash pip install ipykernel 3. Register the Kernel bash python -m ipykernel install --user --name myenv --display-name "Python (myenv)" --name is the internal name used by Jupyter. --display-name is what you'll see in JupyterLab's kernel list. 4. Remove: jupyter kernelspec uninstall myenv ----------------------------------------------------------------------------------------------------------------------------- Changing default settings of Linewrap and LineNum...