Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Install Required Software with Pixi


This notebook installs the Pixi software environment required to run the other notebooks in the ASF Cookbook Template.


Overview

  1. Prerequisites

  2. Install the environment with the Pixi package manager

  3. Summary

  4. Resources and references


1. Prerequisites

PrerequisiteImportanceNotes
Option 1: The Pixi package manager must be installed on the system running Jupyter LabNecessaryPixi may not be supported on all Jupyter Hubs
UW Scientific Software Engineering Center’s Pixi guideHelpfulThis is a great resource to get quickly get started with Pixi
  • Rough Notebook Time Estimate: 3 minutes


2. Install the environment with the Pixi package manager

2a. Install the environment with Pixi

2b. Register the environment’s Python kernel with ipykernel

2c. Ensure notebook shell commands run in the environment

This ensures that shell commands executed from inside a notebook with ! run in the notebook kernel’s environment. This works by launching the entire Jupyter kernel process inside the Pixi environment, so the kernel’s PATH, environment variables, and Python executable all come from that Pixi environment, not from the parent JupyterLab environment.

2d. (Optional) Delete the environment and remove its kernelspec