> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Runtimes

export const Comments = ({children}) => {
  return <div class="my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border border-zinc-500/20 bg-zinc-50/50 dark:border-zinc-500/30 dark:bg-zinc-500/10" data-callout-type="comments">
      <div class="w-4">
        <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5" aria-label="Comments">
            <path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM280 400C266.7 400 256 410.7 256 424C256 437.3 266.7 448 280 448L360 448C373.3 448 384 437.3 384 424C384 410.7 373.3 400 360 400L352 400L352 312C352 298.7 341.3 288 328 288L280 288C266.7 288 256 298.7 256 312C256 325.3 266.7 336 280 336L304 336L304 400L280 400zM320 256C337.7 256 352 241.7 352 224C352 206.3 337.7 192 320 192C302.3 192 288 206.3 288 224C288 241.7 302.3 256 320 256z" />
        </svg>
      </div>
      <div class="text-sm prose min-w-0 w-full">
        {children}
      </div>
    </div>;
};

export const AnacondaIcon = () => {
  return <span className="inline_icon">
        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 32 32" fill="none">
            <path fill="#3AAE2A" fill-rule="evenodd" clip-rule="evenodd" d="M14.9585 0.0451345C14.6119 0.067341 14.3206 0.0931831 14.3113 0.102518C14.302 0.111901 14.5097 0.276485 14.7729 0.468238C15.5956 1.06772 17.2278 2.50068 17.2278 2.62355C17.2278 2.65607 16.9736 2.92069 16.6629 3.21168C16.1371 3.70411 15.2819 4.63801 15.046 4.9772L14.9436 5.12459L15.9511 5.12758C17.7734 5.13294 19.1711 5.44688 20.7258 6.19998C22.9696 7.28688 24.6484 8.95001 25.7693 11.1964C27.8109 15.2883 27.0492 20.3017 23.8861 23.5904C22.9423 24.5717 22.0068 25.2562 20.7845 25.8598C19.2669 26.6092 17.7591 26.9597 16.0439 26.9617C14.31 26.9637 12.8102 26.6203 11.3197 25.8799C10.95 25.6963 10.5828 25.5046 10.5038 25.454C10.3771 25.373 10.3163 25.3675 9.99008 25.4077C9.7866 25.4328 8.97584 25.4558 8.18841 25.4588L6.75671 25.4642L6.7844 25.9064C6.87002 27.2737 7.06165 29.2542 7.11263 29.2986C7.11943 29.3046 7.31214 29.4312 7.54086 29.58C9.41112 30.797 11.7711 31.6382 14.1456 31.9344C14.9341 32.0327 17.3429 32.0174 18.0839 31.9094C21.7606 31.3733 24.775 29.8849 27.3065 27.3557C31.2619 23.4038 32.874 17.6279 31.5394 12.19C30.8534 9.39478 29.5058 6.95609 27.5055 4.8898C25.8492 3.17886 24.01 1.9491 21.8322 1.09646C20.3 0.496586 18.7453 0.156757 17.0084 0.0421376C16.1465 -0.0147053 15.8881 -0.0143614 14.9585 0.0451345ZM10.3784 1.04345C9.13191 1.52143 7.28391 2.49449 7.49203 2.56322C7.53235 2.57653 7.84267 2.64517 8.18166 2.71577C8.5207 2.78632 9.01987 2.90614 9.29096 2.982L9.78391 3.11995L9.98988 2.64841C10.1032 2.38901 10.3374 1.8926 10.5103 1.54521C10.6832 1.19781 10.8178 0.906915 10.8095 0.898809C10.8011 0.890654 10.6072 0.95575 10.3784 1.04345ZM12.2285 1.47672C11.8241 2.2141 11.1791 3.5744 11.2218 3.5999C11.2288 3.60408 11.5869 3.75397 12.0174 3.933C12.4479 4.11198 12.9188 4.30963 13.0637 4.37217L13.3272 4.4859L13.4795 4.29233C13.7576 3.93899 14.3038 3.31087 14.5972 3.00701L14.8867 2.70722L14.455 2.36498C13.6555 1.73121 12.6096 0.973142 12.5346 0.973142C12.5181 0.973142 12.3804 1.19973 12.2285 1.47672ZM6.19604 4.71927C6.16106 5.53492 6.17584 6.93958 6.21992 6.9833C6.23337 6.99662 6.4095 6.98856 6.61131 6.96532C6.81312 6.94208 7.35426 6.90755 7.81385 6.88858L8.64947 6.85414L8.78695 6.28414C8.86253 5.97065 9.00681 5.45425 9.10754 5.13657L9.29071 4.55901L9.03954 4.48649C8.31062 4.27602 6.61493 3.92091 6.3389 3.92091C6.23264 3.92091 6.22961 3.93777 6.19604 4.71927ZM4.32011 5.13446C3.62887 5.8917 2.85534 6.9155 2.47632 7.57468C2.35494 7.78579 2.34981 7.81045 2.43249 7.78441C2.62525 7.72378 3.67148 7.46128 4.22432 7.33487L4.79722 7.2039L4.76796 5.96775C4.75186 5.28784 4.73332 4.72492 4.72672 4.71686C4.72016 4.70875 4.53719 4.89667 4.32011 5.13446ZM10.53 5.52991C10.3635 6.07495 10.1827 6.72611 10.1827 6.78045C10.1827 6.80054 10.2983 6.74822 10.4396 6.66421C10.738 6.48665 11.7 6.00784 12.0908 5.84232L12.3598 5.72839L12.0418 5.58144C11.6811 5.41475 10.7701 5.05089 10.7135 5.05089C10.693 5.05089 10.6104 5.26647 10.53 5.52991ZM7.5164 8.34493C7.11278 8.3637 6.67799 8.38187 6.55015 8.38536C6.33866 8.39111 6.31777 8.40241 6.31777 8.51064C6.31777 8.66245 6.54418 10.0083 6.61278 10.264L6.66468 10.4577L6.99932 9.94788C7.34257 9.42489 7.72638 8.93856 8.12085 8.52681C8.24379 8.39843 8.32325 8.29737 8.29732 8.30214C8.27144 8.30695 7.92002 8.32621 7.5164 8.34493ZM4.16512 8.68441C2.76757 9.00847 1.4478 9.43035 1.48943 9.53971C1.50108 9.57032 1.58019 9.79897 1.66522 10.0478C1.89247 10.7128 2.25411 11.5023 2.70401 12.3153C2.9229 12.7108 3.10504 13.0387 3.10886 13.0439C3.11267 13.0491 3.52266 12.7838 4.01992 12.4544C4.51713 12.1249 5.0844 11.7707 5.28048 11.6673C5.56013 11.5199 5.63112 11.4606 5.60974 11.3929C5.47995 10.9823 5.18269 9.42185 5.11522 8.79702C5.09594 8.61897 5.05901 8.49148 5.02721 8.49359C4.99702 8.49561 4.6091 8.58149 4.16512 8.68441ZM0.788944 11.0211C0.430822 11.9658 0.0928572 13.836 0.0300881 15.2207L0 15.884L0.305137 15.54C0.918592 14.8486 2.09819 13.7591 2.31003 13.6882C2.33988 13.6782 2.24927 13.486 2.10538 13.2541C1.96336 13.0252 1.62158 12.3962 1.34579 11.8563C0.855627 10.8967 0.8432 10.878 0.788944 11.0211ZM5.38763 12.7486C5.18616 12.8712 4.71757 13.1714 4.34638 13.4156L3.67143 13.8596L3.78875 13.9875C3.85328 14.0578 4.07828 14.3474 4.28875 14.6311C4.49922 14.9149 4.77417 15.2686 4.89976 15.4172C5.02535 15.5658 5.1501 15.7282 5.17701 15.778C5.21331 15.8451 5.2343 15.7228 5.25798 15.3064C5.29736 14.6137 5.4482 13.7029 5.63283 13.0424C5.7095 12.7683 5.76811 12.5398 5.76307 12.5347C5.75808 12.5297 5.5891 12.6259 5.38763 12.7486ZM2.30602 14.9957C1.75259 15.4843 0.300147 16.9297 0.300147 16.9919C0.300147 17.0301 1.4932 17.9936 2.01248 18.3747C2.52432 18.7504 3.08645 19.1209 3.10842 19.0973C3.11855 19.0863 3.25294 18.8673 3.40705 18.6106C3.56111 18.3539 3.89452 17.8389 4.14785 17.4662C4.40123 17.0934 4.5933 16.7638 4.57476 16.7336C4.55622 16.7035 4.31874 16.4115 4.04712 16.0848C3.51116 15.4403 3.01903 14.795 2.92569 14.6143C2.86806 14.5028 2.85622 14.51 2.30602 14.9957ZM4.89022 17.9865C4.35798 18.7996 3.96962 19.4516 3.96952 19.5324C3.96943 19.593 6.25045 20.7581 6.29051 20.7178C6.30172 20.7066 6.23621 20.5273 6.14492 20.3194C5.8821 19.7209 5.64081 18.9376 5.50553 18.2439C5.43685 17.8917 5.36586 17.5437 5.34776 17.4706C5.31732 17.3478 5.28269 17.3869 4.89022 17.9865ZM0.0749022 18.1225C0.383758 20.0374 0.755236 21.3555 1.34829 22.6409C1.44819 22.8574 1.47603 22.8874 1.50411 22.8087C1.65798 22.3782 2.15328 21.1704 2.33484 20.7831C2.68063 20.0454 2.75627 19.8389 2.68078 19.8389C2.55778 19.8389 1.04482 18.7691 0.25954 18.1269L0.0477006 17.9537L0.0749022 18.1225ZM3.24374 20.8671C2.89076 21.6228 2.11033 23.6518 2.11033 23.8138C2.11033 23.9473 4.30906 24.3929 5.61596 24.5243L5.86816 24.5496L5.90108 23.9752C5.93049 23.4627 6.01351 22.5993 6.10392 21.8655C6.12926 21.6598 6.12153 21.6075 6.06581 21.6075C5.98499 21.6075 4.64903 20.9528 3.97432 20.5826C3.72138 20.4438 3.50994 20.3302 3.5045 20.3302C3.49903 20.3302 3.38166 20.5718 3.24374 20.8671ZM6.81449 22.3833C6.73748 23.0915 6.64218 24.5536 6.67119 24.5827C6.68396 24.5956 7.29262 24.6002 8.02369 24.5929L9.3529 24.5799L8.86224 24.1478C8.27134 23.6274 7.68743 22.9679 7.28734 22.369C7.12486 22.1259 6.96488 21.9112 6.93181 21.892C6.88719 21.8662 6.85695 21.9927 6.81449 22.3833ZM2.50171 24.827C2.50171 24.898 3.04296 25.671 3.44912 26.1801C3.99961 26.8702 4.6844 27.5869 5.48009 28.3059L6.13748 28.8999L6.10744 28.5085C6.09091 28.2933 6.04482 27.7745 6.00505 27.3557C5.96527 26.9369 5.91806 26.3123 5.90015 25.9678L5.86762 25.3414L5.68905 25.341C5.3389 25.3405 3.43327 25.0159 2.61179 24.817C2.55127 24.8023 2.50171 24.8068 2.50171 24.827Z" />
            </svg>
        </span>;
};

export const TroubleshootSolution = ({children}) => <>
    <hr className="my-3 w-full" />
    <details className="mt-3">
      <summary className="cursor-pointer font-semibold text-base mb-1">
        Solution
      </summary>
      <div className="mt-2 ml-4" data-component-part="step-content">
        {children}
      </div>
    </details>
  </>;

export const TroubleshootCause = ({children}) => <details className="mt-3 mb-2">
    <summary className="cursor-pointer font-semibold text-base mb-1">
      Cause
    </summary>
    <div className="mt-2 ml-4" data-component-part="step-content">
      {children}
    </div>
  </details>;

export const TroubleshootTitle = ({children}) => <>
    <p className="m-0 font-semibold text-xl leading-tight mb-2" role="heading" aria-level={3}>
      {children}
    </p>
    <hr className="my-3 w-full" />
  </>;

export const Troubleshoot = ({children}) => <div className="callout my-4 px-5 py-4 overflow-hidden rounded-2xl flex gap-3 border troubleshoot-admonition dark:troubleshoot-admonition" data-callout-type="troubleshoot">
    <div className="mt-0.5 w-4">
      <svg width="14" height="14" viewBox="0 0 640 640" fill="currentColor" className="w-4 h-4" aria-label="Troubleshoot">
        <path d="M541.4 162.6C549 155 561.7 156.9 565.5 166.9C572.3 184.6 576 203.9 576 224C576 312.4 504.4 384 416 384C398.5 384 381.6 381.2 365.8 376L178.9 562.9C150.8 591 105.2 591 77.1 562.9C49 534.8 49 489.2 77.1 461.1L264 274.2C258.8 258.4 256 241.6 256 224C256 135.6 327.6 64 416 64C436.1 64 455.4 67.7 473.1 74.5C483.1 78.3 484.9 91 477.4 98.6L388.7 187.3C385.7 190.3 384 194.4 384 198.6L384 240C384 248.8 391.2 256 400 256L441.4 256C445.6 256 449.7 254.3 452.7 251.3L541.4 162.6z" />
      </svg>
    </div>
    <div className="prose min-w-0 w-full">{children}</div>
  </div>;

In Anaconda Notebooks, a runtime is what powers your code execution. You can think of a runtime as a conda environment connected to a language-specific kernel. Anaconda Notebooks provides several pre-configured runtimes that include the `ipykernel` package and all the packages from the latest Anaconda Distribution release, giving you immediate access to a comprehensive data science toolkit.

## Environments, kernels, and runtimes

### What is an environment?

An environment is a folder or directory that contains a specific collection of conda packages and their dependencies.

Working in separate environments allows you to maintain and run packages without interference from other collections of packages. For example, you might require separate conda environments to maintain distinct versions of Python based on distinct package dependencies.

### What is a kernel?

A kernel is a programming-language-specific process that interprets your code, runs it, and gives you the results. In Jupyter Notebooks, kernels allow users to run code in cells and receive immediate output. For example, `ipykernel` enables interactive computing in Python.

### What is a runtime?

A runtime in Anaconda Notebooks is a conda environment that has been associated with a specific kernel, enabling it to execute code. For an environment to be usable in JupyterLab, it must contain a kernel package (such as `ipykernel` for Python). Without this kernel association, JupyterLab cannot recognize the environment as an available option for running notebooks.

The default runtimes provided in Anaconda Notebooks come with the `ipykernel` package already installed, making them immediately available for your Python notebooks.

To add a kernel package to a custom environment and create your own runtime, see [creating custom runtimes](#creating-custom-runtimes).

## Using default runtimes

Custom runtimes often use large amounts of your limited Anaconda Notebooks storage space. Because of this, Anaconda provides a number of *read-only* default runtimes that contain all the packages from the latest release of Anaconda Distribution.

The default runtime naming convention is typically `anaconda-<YEAR>.<MONTH>-py<PYTHON_VERSION>`, which maps to Anaconda Distribution releases:

| Environment Name          | Status | Description                                                   |
| :------------------------ | :----- | :------------------------------------------------------------ |
| anaconda-2025.12-py312    | Live   | Latest Anaconda Packages (stable & recommended)               |
| anaconda-ai-2025.12-py312 | Live   | Latest Anaconda Packages + AI Packages (stable & recommended) |

To list all available runtimes, run the following in a notebook cell:

```sh theme={null}
!conda info --envs
```

To list the current runtime's available packages, run the following in a notebook cell:

```sh theme={null}
!conda list
```

To search for a specific package in the current runtime environment, run the following in a notebook cell:

```sh theme={null}
!conda list <PACKAGE>
```

<Comments>
  Replace \<PACKAGE> with the name of the package you'd like to search for.
</Comments>

## Creating custom runtimes

If you need a specific set of packages that are not included in one of our default runtimes, you can create your own runtime to customize to your needs.

<Note>
  Custom runtimes are stored using your dedicated, persistent Anaconda Notebooks cloud storage. This ensures the custom runtime remains available after your current session ends. Custom runtimes use your personal storage space and can easily get quite large, so *only include the packages you need*.
</Note>

To create a new runtime:

1. Open a terminal from the Launcher, which you can access by selecting the <Icon icon="square-plus" iconType="solid" color="#3874CB" /> blue plus in the top-left corner of the <Icon icon="folder" iconType="solid" /> **File Browser**.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebook_open_terminal.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=8499d06ce30321bf20ff082a8c1fd5ee" width="3460" height="1920" data-path="images/notebook_open_terminal.png" />
   </Frame>

2. Create a new runtime by running the following command:

   ```sh theme={null}
   conda create --name <ENV_NAME> <PACKAGE> ipykernel
   ```

   <Comments>
     Replace \<ENV\_NAME> with a new name for your runtime environment.<br />
     Replace \<PACKAGE> with the name of a package you want to install in your runtime environment.
   </Comments>

   <Note>
     Adding `ipykernel` creates a Python runtime.
   </Note>

For more information about creating conda environments, see the [official conda docs](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html).

### Creating a custom runtime from an environment.yml file

<Note>
  This feature is only available for the [local version of Toolbox](/tools/anaconda-notebooks/anaconda-toolbox/local-toolbox).
</Note>

If you have an existing `environment.yml` file, you can create a custom runtime by uploading it to an [Anaconda Toolbox project](/tools/anaconda-notebooks/anaconda-toolbox/using-projects) and installing it directly from there.

#### Uploading an `environment.yml` file

1. Launch Anaconda Notebooks and select the left-side <AnacondaIcon /> **Anaconda Toolbox** icon.

2. Select **Manage Projects**.

3. Select <Icon icon="ellipsis-vertical" iconType="regular" /> actions beside the project where you want to add your `environment.yml` file, then select <Icon icon="upload" iconType="light" /> *Upload*.

4. Select the `environment.yml` file you want to create a custom runtime from. You can use any filename, but the file extension must be `.yml`.

   <Warning>
     The dependencies list must include the `ipykernel` package.

     ***

     The `environment.yml` file must be in valid YAML format.

     ***

     If your `environment.yml` file includes a `name:` key, it will be removed during upload. You'll name your environment during installation.

     See the official [conda docs](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-file-manually) for more information on creating an `environment.yml` file.
   </Warning>

5. Select **Upload to Project**.

See [Anaconda Projects](/tools/anaconda-notebooks/anaconda-toolbox/using-projects) for more details on creating projects and uploading files.

#### Installing the custom runtime

1. Navigate to the project where you uploaded the `environment.yml` file.

2. Click **Install** beside the `environment.yml` filename.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebooks_install_button.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=2125ccc16c294315088f0f6b898e94ec" alt="" width="3460" height="1920" data-path="images/notebooks_install_button.png" />
   </Frame>

3. In the modal that appears, choose a unique name for your environment, then select **Install**.

Once installation is complete, an <Icon icon="pencil" iconType="regular" /> **Edit environment** button appears beside the filename.

Selecting <Icon icon="pencil" iconType="regular" /> **Edit environment** lets you edit your environment with the [Gator environment manager](/tools/anaconda-notebooks/anaconda-toolbox/toolbox-environments#editing-environments-with-gator).

Follow the steps in [Activating a runtime](#activating-runtimes) to activate your custom runtime.

If installation fails, select <Icon icon="copy" iconType="regular" color="red" /> **Copy error logs** beside the filename to troubleshoot. The most common issue is missing the required `ipykernel` package in your dependencies list.

<Note>
  It might take a minute for your custom runtime to be created and available for use. You might need to close and reopen your active notebook or refresh the browser for your new runtime to appear.
</Note>

## Activating runtimes

There are a few locations from which you can activate a runtime:

<Tabs>
  <Tab title="Terminal">
    1. Open a terminal from the Launcher.

    2. Run the following command:

    ```sh theme={null}
    conda activate <ENV_NAME>
    ```

    <Comments>
      Replace \<ENV\_NAME> with the name of your runtime environment.
    </Comments>
  </Tab>

  <Tab title="Launcher">
    Select the notebook displaying your custom runtime name.

    <Frame>
      <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebook_launcher-env.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=4b8f9da27e38e9855a33ac9e017aac0e" alt="" width="3460" height="1920" data-path="images/notebook_launcher-env.png" />
    </Frame>
  </Tab>

  <Tab title="Notebook">
    Click the runtime in the top right, then switch to your desired runtime in the Select Runtime modal.

    <Frame>
      <img src="https://mintcdn.com/anaconda-29683c67/suT8p96bcArryiKX/images/notebook_kernel.png?fit=max&auto=format&n=suT8p96bcArryiKX&q=85&s=441be0b2312258542fb49ea781682821" alt="" width="3460" height="1920" data-path="images/notebook_kernel.png" />
    </Frame>
  </Tab>
</Tabs>

## Shutting down runtimes

It is best practice to shut down a runtime when you are finished working in it. To shut down a runtime, click **Kernels** in the top menu, then select the specific runtime you want to shut down or **Shut Down All**.

## Managing packages in a runtime

### Installing additional packages

Even after you've created a runtime, you can continue to add packages as needed. To add a package to a custom runtime:

1. Open a terminal from the Launcher.

2. Activate the runtime environment where you want to add the package by running the following command:

   ```sh theme={null}
   conda activate <ENV_NAME>
   ```

   <Comments>
     Replace \<ENV\_NAME> with the name of the runtime environment.
   </Comments>

3. Install the packages you want to add to the environment:

   ```sh theme={null}
   conda install <PACKAGE>
   ```

   <Comments>
     Replace \<PACKAGE> with the name of the package you want to install.
   </Comments>

Verify the package was installed by [activating the runtime](#activating-runtimes) and running the following command in a notebook cell:

```sh theme={null}
!conda list
```

### Updating packages

To update packages in your runtime:

1. Open a terminal from the Launcher.

2. Activate the runtime environment with the package you want to update by running the following command:

   ```sh theme={null}
   conda activate <ENV_NAME>
   ```

   <Comments>
     Replace \<ENV\_NAME> with the name of the runtime environment.
   </Comments>

3. Update the package:

   ```sh theme={null}
   conda update <PACKAGE>
   ```

   <Comments>
     Replace \<PACKAGE> with the name of the package you want to update.
   </Comments>

### Removing packages

To remove packages in your runtime:

1. Open a terminal from the Launcher.

2. Activate the environment with the package you want to remove by running the following command:

   ```sh theme={null}
   conda activate <ENV_NAME>
   ```

   <Comments>
     Replace \<ENV\_NAME> with the name of the runtime environment.
   </Comments>

3. Remove the package:

   ```sh theme={null}
   conda remove <PACKAGE>
   ```

   <Comments>
     Replace \<PACKAGE> with the name of the package you want to remove.
   </Comments>

## Removing custom runtimes

To remove a custom runtime:

1. Open a terminal from the Launcher.

2. Run the following command to remove the custom runtime:

```sh theme={null}
conda env remove --name <ENV_NAME>
```

<Comments>
  Replace \<ENV\_NAME> with a the name of runtime environment you want to remove.
</Comments>

The custom runtime no longer appears in the kernel selector or Launcher.

## Troubleshooting

<Troubleshoot>
  <TroubleshootTitle>
    ### "Missing ipykernel dependency" error
  </TroubleshootTitle>

  <TroubleshootCause>
    A `missing ipykernel dependency` error is caused by an environment dependency list not including the required `ipykernel` package.
  </TroubleshootCause>

  <TroubleshootSolution>
    To resolve this issue, add the `ipykernel` package to your environment's dependency list. For example:

    ```yml highlight {7} theme={null}
        channels:
        - defaults
        dependencies:
        - python=3.11
        - numpy
        - pandas
        - ipykernel
    ```
  </TroubleshootSolution>
</Troubleshoot>

<Troubleshoot>
  <TroubleshootTitle>
    ### Error when importing packages in Notebooks
  </TroubleshootTitle>

  <TroubleshootCause>
    The most common cause of errors is a lack of required package(s) installed in your environment. The default environment we provide, based on the Anaconda distribution, contains hundreds of the most common python packages for data science, but it doesn't include everything. You might need to create a custom environment to install the package you need.
  </TroubleshootCause>

  <TroubleshootSolution>
    <Steps>
      <Step title="Make sure you have the right runtime selected" icon={<Icon icon="check" iconType="regular" />}>
        The default `anaconda-<YEAR>.<MONTH>-py<PYTHON_VERSION>` runtimes have a broad selection of packages, but you might have created a custom environment for your notebook. Separate environments are represented as "runtimes" in JupyterLab. You can view and switch between available runtimes by clicking the runtime name in the upper-right corner of the content pane.
      </Step>

      <Step title="List the packages available in an environment" icon={<Icon icon="check" iconType="regular" />}>
        If one of your imports is failing, start by verifying that the package is present in the runtime environment. You can view which packages are available in your current environment from the terminal by running `conda list`.

        To view packages in a specific environment, run `conda list --name <ENV_NAME>`.

        To see a list of available environments, run `conda info --envs`. An asterisk appears beside your current active environment.
      </Step>

      <Step title="Create a custom runtime" icon={<Icon icon="check" iconType="regular" />}>
        If none of the Anaconda provided environments contain the package(s) you need, create a [custom runtime](/tools/anaconda-notebooks/notebook-runtimes#creating-custom-runtimes) for your notebook project.
      </Step>
    </Steps>
  </TroubleshootSolution>
</Troubleshoot>

<Troubleshoot>
  <TroubleshootTitle>
    ### Custom runtime not appearing in Launcher or Assign a Runtime modal
  </TroubleshootTitle>

  <TroubleshootCause>
    The most common reason a runtime or environment is not appearing in the Launcher or Assign a Runtime modal is that it doesn't contain a <Tooltip tip="A kernel is a programming-language-specific process that interprets your code, runs it, and gives you the results. For example, the `ipykernel` package enables interactive computing in Python.">kernel package</Tooltip>.
  </TroubleshootCause>

  <TroubleshootSolution>
    For more information and instructions on installing a kernel package in your runtime/environment, see [Creating custom runtimes](/tools/anaconda-notebooks/notebook-runtimes#creating-custom-runtimes).
  </TroubleshootSolution>
</Troubleshoot>
