---
title: "Packages and Libraries"
description: "We support various libraries for machine learning, plotting, and data processing. We've bundled together sets of libraries into distinct cloud environments."
canonical: https://www.quantconnect.com/docs/v2/local-platform/development-environment/packages-and-libraries
markdown: https://www.quantconnect.com/docs/v2/local-platform/development-environment/packages-and-libraries.md
language: python
source: https://github.com/QuantConnect/Documentation/tree/master/02%20Local%20Platform/04%20Development%20Environment/12%20Packages%20and%20Libraries
modified: 2026-10-28
index: https://www.quantconnect.com/llms.txt
---

# Packages and Libraries

[Documentation](https://www.quantconnect.com/docs/v2.md) > [Local Platform](https://www.quantconnect.com/docs/v2/local-platform.md) > Development Environment > Packages and Libraries

> Code examples are shown in Python. Append `?lang=csharp` to this URL for the C# version of this page.

## Introduction

Libraries (or packages) are third-party software that you can use in your projects. You can use many of the available open-source libraries to complement the classes and methods that you create. Libraries reduce your development time because it's faster to use a pre-built, open-source library than to write the functionality. Libraries can be used in backtesting, research, and live trading. The environments support various libraries for machine learning, plotting, and data processing. As members often request new libraries, we frequently add new libraries to the underlying docker image that runs the Lean engine.

This feature is primarily for Python algorithms as not all Python libraries are compatible with each other. We've bundled together different sets of libraries into distinct environments. To use the libraries of an environment, set the environment in your project and add the relevant `import` statement of a library at the top of your file.

## Set Environment

Follow these steps to set the library environment:

1. [Open a project](https://www.quantconnect.com/docs/v2/local-platform/projects/getting-started.md#04-Open-Projects).
2. In the left navigation menu, click the ![](https://cdn.quantconnect.com/i/tu/vscode-qc-icon.jpg) **QuantConnect** icon.
3. In the Project panel, click the **Python Foundation** field and then select an environment from the drop-down menu.

## Supported Libraries

The following libraries are supported in each environment:

*This content is interactive and only available on the HTML page: https://www.quantconnect.com/docs/v2/local-platform/development-environment/packages-and-libraries#03-Supported-Libraries*

## Request New Libraries

To request a new library, [contact us](https://www.quantconnect.com/contact). We will add the library to the queue for review and deployment. Since the libraries run on our servers, we need to ensure they are secure and won't cause harm. The process of adding new libraries takes 2-4 weeks to complete. View the list of libraries currently under review on the [Issues list of the Lean GitHub repository](https://github.com/QuantConnect/Lean/issues?q=is%3Aissue+is%3Aopen+label%3Alibrary-request).
