# Are LangChain package versions Python-version specific?

**URL:** <https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778>\
**Category:** LangChain\
**Tags:** python-help\
**Created:** [January 22, 2026, 11:44am UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778 "2026-01-22T11:44:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Najiya](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@Najiya](https://forum.langchain.com/u/Najiya)\
**Post date:** [January 22, 2026, 11:44am UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/1 "2026-01-22T11:44:17Z")

</div>

I’m trying to understand whether **LangChain and its related packages (such as `langchain-community`) are tied to specific Python versions**, or if they are generally intended to be Python-version agnostic.

Are there **recommended LangChain versions for Python 3.10, 3.11, 3.12, or newer**?

I’m asking because I’ve noticed **conflicting or strict dependency requirements** in some releases. For example:

```auto
langchain-community==1.0.0a1
depends on requests>=2.32.5,<3.0.0

```

---

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [February 21, 2026, 1:22am UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/2 "2026-02-21T01:22:10Z")

</div>

@Najiya For **Python 3.10, 3.11, 3.12, or newer** , just use the latest version for almost all of the langchain packages including **`langchain-community`**

---

<div class="post-metadata">

**Author:** ![Najiya](https://avatars.discourse-cdn.com/v4/letter/n/d07c76/32.png) [@Najiya](https://forum.langchain.com/u/Najiya)\
**Post date:** [February 21, 2026, 7:17am UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/3 "2026-02-21T07:17:01Z")

</div>

Okay, but I wanted to know if it is specified anywhere. For eg, when I tried to install deepagents, I found that it does not support python 3.10 but only from python 3.11 and above

---

<div class="post-metadata">

**Author:** ![pawel-twardziak](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/pawel-twardziak/32/960_2.png) [@pawel-twardziak](https://forum.langchain.com/u/pawel-twardziak)\
**Post date:** [February 21, 2026, 11:54am UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/4 "2026-02-21T11:54:25Z")

</div>

hi @Najiya

here you can fint what version of python is required (e.g. deepagents) [deepagents/libs/deepagents/pyproject.toml at main · langchain-ai/deepagents · GitHub](https://github.com/langchain-ai/deepagents/blob/main/libs/deepagents/pyproject.toml)

Why?  
On python 3.10, typing.NotRequired or typing.Unpack are not available in the stdlib typing module (you’d need typing\_extensions)

---

<div class="post-metadata">

**Author:** ![keenborder786](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.langchain.com/keenborder786/32/1757_2.png) [@keenborder786](https://forum.langchain.com/u/keenborder786)\
**Post date:** [February 21, 2026, 3:47pm UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/5 "2026-02-21T15:47:53Z")

</div>

@Najiya You can see the supported Python version by going to PyPi itself. For example, for Langchain: [langchain · PyPI](https://pypi.org/project/langchain/) or deepagents: [deepagents · PyPI](https://pypi.org/project/deepagents/)

 ![Screenshot 2026-02-21 at 8.47.34 PM](https://canada1.discourse-cdn.com/flex007/uploads/langchain/original/2X/f/f579b96f229c0277bcff1f5f044a1c68a99ea402.png)

 ![Screenshot 2026-02-21 at 8.47.06 PM](https://canada1.discourse-cdn.com/flex007/uploads/langchain/original/2X/6/6743fbdff6fa0f4c684a4d79820ced665be0a992.png)

---

<div class="post-metadata">

**Author:** ![Bitcot\_Kaushal](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@Bitcot\_Kaushal](https://forum.langchain.com/u/Bitcot_Kaushal)\
**Post date:** [February 24, 2026, 5:07pm UTC](https://forum.langchain.com/t/are-langchain-package-versions-python-version-specific/2778/6 "2026-02-24T17:07:25Z")

</div>

Hi @Najiya ,

LangChain packages are **not fully Python-version agnostic**. Each package specifies its supported Python versions.

### Where to Check

You can verify compatibility in:

1. **PyPI page** → Look at _“Requires: Python \>= X.Y”_

2. **`pyproject.toml`** → Check `requires-python`

* * *

### What’s Happening in Your Case

- Most core packages like `langchain`, `langchain-community`, etc. support **Python 3.10+**

- Some newer packages (like `deepagents`) require **Python 3.11+**

Why?

Python 3.11 includes newer typing features like:

- `typing.NotRequired`

- `typing.Unpack`

These are not available in Python 3.10’s standard library (unless using `typing_extensions`), so some newer repos set `requires-python >= 3.11`.

* * *

### Recommendation

- If starting fresh → use **Python 3.11 or 3.12**

- If stuck on 3.10 → check each package’s PyPI page before installing

There isn’t one global LangChain ↔ Python version mapping — it’s package-specific.

So always check the package’s `Requires-Python` field.
