mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-18 19:04:27 -04:00
[BUG]ModuleNotFoundError: No module named 'langserve.packages' #33
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 @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
@edeng23 commented on GitHub (Nov 8, 2023):
Same here
@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?)
@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):
It's out in langchain-cli 0.0.16! This will work with
pip install -U langchain-cli langservelangserve >= 0.0.24 is only compatible with langchain-cli >= 0.0.16