Dependency Conflicts. #196

Open
opened 2026-02-16 00:19:19 -05:00 by yindo · 1 comment
Owner

Originally created by @bot66 on GitHub (Jun 12, 2024).

#python=3.10.14
pip install "langserve[all]"
pip install -U langchain-cli

#log
...
Installing collected packages: uvicorn, typer, tomlkit, smmap, libcst, colorama, gitdb, gitpython, fastapi, langchain-cli
  Attempting uninstall: uvicorn
    Found existing installation: uvicorn 0.30.1
    Uninstalling uvicorn-0.30.1:
      Successfully uninstalled uvicorn-0.30.1
  Attempting uninstall: typer
    Found existing installation: typer 0.12.3
    Uninstalling typer-0.12.3:
      Successfully uninstalled typer-0.12.3
  Attempting uninstall: fastapi
    Found existing installation: fastapi 0.111.0
    Uninstalling fastapi-0.111.0:
      Successfully uninstalled fastapi-0.111.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fastapi-cli 0.0.4 requires typer>=0.12.3, but you have typer 0.9.4 which is incompatible.
Successfully installed colorama-0.4.6 fastapi-0.110.3 gitdb-4.0.11 gitpython-3.1.43 langchain-cli-0.0.24 libcst-1.4.0 smmap-5.0.1 tomlkit-0.12.5 typer-0.9.4 uvicorn-0.23.2
Originally created by @bot66 on GitHub (Jun 12, 2024). ```bash #python=3.10.14 pip install "langserve[all]" pip install -U langchain-cli #log ... Installing collected packages: uvicorn, typer, tomlkit, smmap, libcst, colorama, gitdb, gitpython, fastapi, langchain-cli Attempting uninstall: uvicorn Found existing installation: uvicorn 0.30.1 Uninstalling uvicorn-0.30.1: Successfully uninstalled uvicorn-0.30.1 Attempting uninstall: typer Found existing installation: typer 0.12.3 Uninstalling typer-0.12.3: Successfully uninstalled typer-0.12.3 Attempting uninstall: fastapi Found existing installation: fastapi 0.111.0 Uninstalling fastapi-0.111.0: Successfully uninstalled fastapi-0.111.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. fastapi-cli 0.0.4 requires typer>=0.12.3, but you have typer 0.9.4 which is incompatible. Successfully installed colorama-0.4.6 fastapi-0.110.3 gitdb-4.0.11 gitpython-3.1.43 langchain-cli-0.0.24 libcst-1.4.0 smmap-5.0.1 tomlkit-0.12.5 typer-0.9.4 uvicorn-0.23.2 ```
Author
Owner

@Thieund commented on GitHub (Jul 4, 2024):

Encountered the same issue. Poetry throwed error and could not install fastapi

@Thieund commented on GitHub (Jul 4, 2024): Encountered the same issue. Poetry throwed error and could not install fastapi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#196