langchain - 💡(How to fix) Fix langchain-huggingface==1.2.1 was not released to pypi [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
langchain-ai/langchain#35483Fetched 2026-04-08 00:25:58
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
0
Timeline (top)
labeled ×3closed ×1commented ×1issue_type_added ×1

Despite #35182, langchain-huggingface==1.2.1 has not been released to pypi and installing this version with pip does not work

Error Message

ERROR: Could not find a version that satisfies the requirement langchain-huggingface==1.2.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.1.0.dev1, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 1.0.0a1, 1.0.0, 1.0.1, 1.1.0, 1.2.0) ERROR: No matching distribution found for langchain-huggingface==1.2.1

Root Cause

Despite #35182, langchain-huggingface==1.2.1 has not been released to pypi and installing this version with pip does not work

Fix Action

Fix / Workaround

  • This is a bug, not a usage question.
  • I added a clear and descriptive title that summarizes this issue.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
  • This is not related to the langchain-community package.
  • I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.

Other Dependencies

google-adk: 1.25.1 httpx: 0.28.1 jsonpatch: 1.33 langgraph: 1.0.9 opentelemetry-api: 1.38.0 opentelemetry-exporter-otlp-proto-http: 1.38.0 opentelemetry-sdk: 1.38.0 orjson: 3.11.7 packaging: 26.0 pydantic: 2.12.3 pytest: 8.4.2 pyyaml: 6.0.3 requests: 2.32.4 requests-toolbelt: 1.0.0 rich: 13.9.4 tenacity: 9.1.4 typing-extensions: 4.15.0 uuid-utils: 0.14.1 wrapt: 2.1.1 xxhash: 3.6.0 zstandard: 0.25.0

Code Example

pip install langchain-huggingface==1.2.1

---

ERROR: Could not find a version that satisfies the requirement langchain-huggingface==1.2.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.1.0.dev1, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 1.0.0a1, 1.0.0, 1.0.1, 1.1.0, 1.2.0)
ERROR: No matching distribution found for langchain-huggingface==1.2.1
RAW_BUFFERClick to expand / collapse

Checked other resources

  • This is a bug, not a usage question.
  • I added a clear and descriptive title that summarizes this issue.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
  • This is not related to the langchain-community package.
  • I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.

Package (Required)

  • langchain
  • langchain-openai
  • langchain-anthropic
  • langchain-classic
  • langchain-core
  • langchain-model-profiles
  • langchain-tests
  • langchain-text-splitters
  • langchain-chroma
  • langchain-deepseek
  • langchain-exa
  • langchain-fireworks
  • langchain-groq
  • langchain-huggingface
  • langchain-mistralai
  • langchain-nomic
  • langchain-ollama
  • langchain-openrouter
  • langchain-perplexity
  • langchain-qdrant
  • langchain-xai
  • Other / not sure / general

Related Issues / PRs

#35182

Reproduction Steps / Example Code (Python)

pip install langchain-huggingface==1.2.1

Error Message and Stack Trace (if applicable)

ERROR: Could not find a version that satisfies the requirement langchain-huggingface==1.2.1 (from versions: 0.0.1, 0.0.2, 0.0.3, 0.1.0.dev1, 0.1.0, 0.1.1, 0.1.2, 0.2.0, 0.3.0, 0.3.1, 1.0.0a1, 1.0.0, 1.0.1, 1.1.0, 1.2.0)
ERROR: No matching distribution found for langchain-huggingface==1.2.1

Description

Despite #35182, langchain-huggingface==1.2.1 has not been released to pypi and installing this version with pip does not work

System Info

System Information

OS: Linux OS Version: #1 SMP Mon Feb 2 12:27:57 UTC 2026 Python Version: 3.12.12 (main, Oct 10 2025, 08:52:57) [GCC 11.4.0]

Package Information

langchain_core: 1.2.15 langchain: 1.2.10 langsmith: 0.7.6 langgraph_sdk: 0.3.9

Optional packages not installed

deepagents deepagents-cli

Other Dependencies

google-adk: 1.25.1 httpx: 0.28.1 jsonpatch: 1.33 langgraph: 1.0.9 opentelemetry-api: 1.38.0 opentelemetry-exporter-otlp-proto-http: 1.38.0 opentelemetry-sdk: 1.38.0 orjson: 3.11.7 packaging: 26.0 pydantic: 2.12.3 pytest: 8.4.2 pyyaml: 6.0.3 requests: 2.32.4 requests-toolbelt: 1.0.0 rich: 13.9.4 tenacity: 9.1.4 typing-extensions: 4.15.0 uuid-utils: 0.14.1 wrapt: 2.1.1 xxhash: 3.6.0 zstandard: 0.25.0

extent analysis

Fix Plan

Problem: Unable to install langchain-huggingface==1.2.1 due to missing release on PyPI

Solution: Update langchain-huggingface to the latest version available on PyPI

  1. Uninstall the specific version of langchain-huggingface:

pip uninstall langchain-huggingface==1.2.1

2. **Install the latest version of langchain-huggingface**:
   ```bash
pip install langchain-huggingface

This will install the latest version available on PyPI.

Alternative Solution: Use a specific version of langchain-huggingface from GitHub

If you need to use a specific version of langchain-huggingface, you can install it directly from GitHub using the following command:

pip install git+https://github.com/langchain/[email protected]

Replace 1.2.1 with the desired version.

Verification

  1. Check the installed version of langchain-huggingface:

pip show langchain-huggingface

   Verify that the installed version is the latest available on PyPI or the specific version you intended to install.

2. **Test your application**:
   Run your application and verify that it works as expected with the updated version of langchain-huggingface.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING