ChatChatGLM安装 : 安装PDF组件:
git clone https://github.com/imClumsyPanda/langchain-ChatGLM.git
ChatChatGLM安装 : 安装PDF组件:
一,detectron2安装
git clone https://github.com/facebookresearch/detectron2.git
python setup.py build --force develop
参考: https://www.cnblogs.com/ywjfx/p/16647049.html
二,pip3 install protobuf==3.19.3
安装原因:会报错'NoneType' object has no attribute 'message_types_by_name',
三,tesseract-ocr安装
这里下载的是 windows
的最新版 https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.0.0-alpha.20201127.exe
(具体参照tesseract-ocr - 迷途小书童的Note迷途小书童的Note)
四,TDM-GCC Compiler
TDM-GCC Compiler download | SourceForge.net
五, bitsandbytes会报错:
pip install git+https://github.com/Keith-Hon/bitsandbytes-windows.git