mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-16 09:34:30 -04:00
from httpx._types import AuthTypes, CertTypes, CookieTypes, HeaderTypes, VerifyTypes ImportError: cannot import name 'VerifyTypes' from 'httpx._types' (/usr/local/lib/python3.11/site-packages/httpx/_types.py) #241
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @maryam123errami on GitHub (Dec 3, 2024).
I get an error when I try to build a Docker image. Can someone please help me?
from langserve import add_routes
File "/usr/local/lib/python3.11/site-packages/langserve/init.py", line 8, in
from langserve.client import RemoteRunnable
File "/usr/local/lib/python3.11/site-packages/langserve/client.py", line 24, in
from httpx._types import AuthTypes, CertTypes, CookieTypes, HeaderTypes, VerifyTypes
ImportError: cannot import name 'VerifyTypes' from 'httpx._types' (/usr/local/lib/python3.11/site-packages/httpx/_types.py)
langchain-community
psycopg2-binary
tenacity
scikit-learn
pydantic
fastapi
langchain_google_genai
httpx==0.27.2
langgraph
langserve
uvicorn
langchain
langchain-cli
langchain-core
langchain-openai==0.2.10
@xxsl commented on GitHub (Dec 5, 2024):
Same as #796 , solution there
PR already exist #798
@eyurtsev commented on GitHub (Dec 19, 2024):
should be resolved in 0.3.1