[BUG]ModuleNotFoundError: No module named 'langserve.packages' #33

Closed
opened 2026-02-16 00:18:10 -05:00 by yindo · 4 comments
Owner

Originally created by @xiechengmude on GitHub (Nov 7, 2023).

Originally assigned to: @efriis on GitHub.

Traceback (most recent call last):
File "/root/miniconda3/envs/langserve/bin/langchain", line 5, in
from langchain_cli.cli import app
File "/root/miniconda3/envs/langserve/lib/python3.11/site-packages/langchain_cli/cli.py", line 6, in
from langchain_cli.namespaces import app as app_namespace
File "/root/miniconda3/envs/langserve/lib/python3.11/site-packages/langchain_cli/namespaces/app.py", line 11, in
from langserve.packages import get_langserve_export
ModuleNotFoundError: No module named 'langserve.packages'

Env: Python3.11 Conda, langchain langchain-cli 0.0.15 Langserve

Originally created by @xiechengmude on GitHub (Nov 7, 2023). Originally assigned to: @efriis on GitHub. Traceback (most recent call last): File "/root/miniconda3/envs/langserve/bin/langchain", line 5, in <module> from langchain_cli.cli import app File "/root/miniconda3/envs/langserve/lib/python3.11/site-packages/langchain_cli/cli.py", line 6, in <module> from langchain_cli.namespaces import app as app_namespace File "/root/miniconda3/envs/langserve/lib/python3.11/site-packages/langchain_cli/namespaces/app.py", line 11, in <module> from langserve.packages import get_langserve_export ModuleNotFoundError: No module named 'langserve.packages' Env: Python3.11 Conda, langchain langchain-cli 0.0.15 Langserve
yindo closed this issue 2026-02-16 00:18:10 -05:00
Author
Owner

@edeng23 commented on GitHub (Nov 8, 2023):

Same here

@edeng23 commented on GitHub (Nov 8, 2023): Same here
Author
Owner

@eyurtsev commented on GitHub (Nov 8, 2023):

cc @efriis , @edeng23 / @xiechengmude would you be able to share your version of versions of langserve/langchain? (@xiechengmude i think you're on langserve 0.0.15?)

@eyurtsev commented on GitHub (Nov 8, 2023): cc @efriis , @edeng23 / @xiechengmude would you be able to share your version of versions of langserve/langchain? (@xiechengmude i think you're on langserve 0.0.15?)
Author
Owner

@efriis commented on GitHub (Nov 8, 2023):

Hey all - will get this out in the next few hours! In the meantime, please pip install langserve==0.0.23.

@efriis commented on GitHub (Nov 8, 2023): Hey all - will get this out in the next few hours! In the meantime, please `pip install langserve==0.0.23`.
Author
Owner

@efriis commented on GitHub (Nov 8, 2023):

It's out in langchain-cli 0.0.16! This will work with pip install -U langchain-cli langserve

langserve >= 0.0.24 is only compatible with langchain-cli >= 0.0.16

@efriis commented on GitHub (Nov 8, 2023): It's out in langchain-cli 0.0.16! This will work with `pip install -U langchain-cli langserve` langserve >= 0.0.24 is only compatible with langchain-cli >= 0.0.16
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langserve#33