Installing "huggingface_hub[mcp]>=0.32.0"

#13
by tracoget - opened
Hugging Face MCP Course org

Trying to go through MCP Module 1 course, but I get pip install "huggingface_hub[mcp]>=0.32.0"
Collecting huggingface_hub>=0.32.0 (from huggingface_hub[mcp]>=0.32.0)
Downloading huggingface_hub-0.33.4-py3-none-any.whl.metadata (14 kB)
Collecting filelock (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting fsspec>=2023.5.0 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading fsspec-2025.3.0-py3-none-any.whl.metadata (11 kB)
Collecting packaging>=20.9 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
Collecting pyyaml>=5.1 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading PyYAML-6.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting requests (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading requests-2.32.4-py3-none-any.whl.metadata (4.9 kB)
Collecting tqdm>=4.42.1 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading tqdm-4.67.1-py3-none-any.whl.metadata (57 kB)
Collecting typing-extensions>=3.7.4.3 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Using cached typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Collecting hf-xet<2.0.0,>=1.1.2 (from huggingface_hub>=0.32.0->huggingface_hub[mcp]>=0.32.0)
Downloading hf_xet-1.1.5-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (879 bytes)
INFO: pip is looking at multiple versions of huggingface-hub[mcp] to determine which version is compatible with other requirements. This could take a while.
Collecting huggingface_hub[mcp]>=0.32.0
Downloading huggingface_hub-0.33.3-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.33.2-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.33.1-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.33.0-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.6-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.5-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.4-py3-none-any.whl.metadata (14 kB)
INFO: pip is still looking at multiple versions of huggingface-hub[mcp] to determine which version is compatible with other requirements. This could take a while.
Downloading huggingface_hub-0.32.3-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.2-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.1-py3-none-any.whl.metadata (14 kB)
Downloading huggingface_hub-0.32.0-py3-none-any.whl.metadata (14 kB)
ERROR: Cannot install huggingface-hub[mcp]==0.32.0, huggingface-hub[mcp]==0.32.1, huggingface-hub[mcp]==0.32.2, huggingface-hub[mcp]==0.32.3, huggingface-hub[mcp]==0.32.4, huggingface-hub[mcp]==0.32.5, huggingface-hub[mcp]==0.32.6, huggingface-hub[mcp]==0.33.0, huggingface-hub[mcp]==0.33.1, huggingface-hub[mcp]==0.33.2, huggingface-hub[mcp]==0.33.3 and huggingface-hub[mcp]==0.33.4 because these package versions have conflicting dependencies.

The conflict is caused by:
huggingface-hub[mcp] 0.33.4 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.33.3 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.33.2 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.33.1 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.33.0 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.6 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.5 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.4 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.3 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.2 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.1 depends on mcp>=1.8.0; extra == "mcp"
huggingface-hub[mcp] 0.32.0 depends on mcp>=1.8.0; extra == "mcp"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Sign up or log in to comment