Skip to content

start python gradio.py failed, the error is: ModuleNotFoundError: No module named 'langchain.docstore' #345

@derchLee

Description

@derchLee

my pip list
Package Version


accelerate 1.11.0
aiofiles 24.1.0
aistudio-sdk 0.3.8
annotated-types 0.7.0
anyio 4.11.0
attrdict 2.0.1
babel 2.17.0
bce-python-sdk 0.9.46
beautifulsoup4 4.14.2
blinker 1.9.0
Brotli 1.1.0
cachetools 6.2.1
certifi 2025.10.5
cffi 2.0.0
chardet 5.2.0
charset-normalizer 3.4.4
click 8.3.0
colorama 0.4.6
colorlog 6.10.1
contourpy 1.3.3
cryptography 46.0.3
cssselect 1.3.0
cssutils 2.11.1
cycler 0.12.1
Cython 3.1.5
defusedxml 0.7.1
distro 1.9.0
easyocr 1.7.2
einops 0.8.1
et_xmlfile 2.0.0
fastapi 0.119.1
ffmpy 0.6.3
filelock 3.20.0
fire 0.7.1
Flask 3.1.2
flask-babel 4.0.0
fonttools 4.60.1
fsspec 2025.9.0
future 1.0.0
gradio 5.49.1
gradio_client 1.13.3
groovy 0.1.2
h11 0.16.0
httpcore 1.0.9
httpx 0.28.1
huggingface-hub 0.35.3
idna 3.11
imageio 2.37.0
imagesize 1.4.1
imgaug 0.4.0
itsdangerous 2.2.0
Jinja2 3.1.6
jiter 0.11.1
kiwisolver 1.4.9
lazy_loader 0.4
lmdb 1.7.5
lxml 6.0.2
markdown-it-py 4.0.0
MarkupSafe 3.0.3
matplotlib 3.10.7
mdurl 0.1.2
modelscope 1.31.0
more-itertools 10.8.0
mpmath 1.3.0
networkx 3.5
ninja 1.13.0
numpy 1.26.4
openai 2.6.0
opencv-contrib-python 4.6.0.66
opencv-python 4.6.0.66
opencv-python-headless 4.6.0.66
openpyxl 3.1.5
opt-einsum 3.3.0
orjson 3.11.3
packaging 25.0
paddleocr 2.7.3
paddlepaddle 3.2.0
paddlex 3.3.4
pandas 2.3.3
pdf2docx 0.5.8
pillow 11.3.0
pip 25.2
polars 1.34.0
polars-runtime-32 1.34.0
premailer 3.10.0
prettytable 3.16.0
protobuf 6.33.0
psutil 7.1.1
py-cpuinfo 9.0.0
pyclipper 1.3.0.post6
pycparser 2.23
pycryptodome 3.23.0
pydantic 2.11.10
pydantic_core 2.33.2
pydub 0.25.1
Pygments 2.19.2
PyMuPDF 1.26.5
pyOpenSSL 25.3.0
pyparsing 3.2.5
pypdfium2 4.30.0
python-bidi 0.6.6
python-dateutil 2.9.0.post0
python-docx 1.2.0
python-multipart 0.0.20
pytz 2025.2
PyYAML 6.0.2
RapidFuzz 3.14.1
rarfile 4.2
regex 2025.10.22
requests 2.32.5
rich 14.2.0
ruamel.yaml 0.18.15
ruamel.yaml.clib 0.2.14
ruff 0.14.1
safehttpx 0.1.6
safetensors 0.6.2
scikit-image 0.25.2
scipy 1.16.2
semantic-version 2.10.0
sentencepiece 0.2.1
setuptools 80.9.0
shapely 2.1.2
shellingham 1.5.4
six 1.17.0
sniffio 1.3.1
soupsieve 2.8
starlette 0.48.0
supervision 0.26.1
sympy 1.14.0
termcolor 3.1.0
tifffile 2025.10.16
timm 1.0.20
tokenizers 0.21.4
tomlkit 0.13.3
torch 2.9.0
torchvision 0.24.0
tqdm 4.67.1
transformers 4.49.0
typer 0.20.0
typing_extensions 4.15.0
typing-inspection 0.4.2
tzdata 2025.2
ujson 5.11.0
ultralytics 8.3.218
ultralytics-thop 2.0.17
urllib3 2.5.0
uvicorn 0.38.0
visualdl 2.5.3
wcwidth 0.2.14
websockets 15.0.1
Werkzeug 3.1.3
wheel 0.45.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions