From 2d3ea9830ed45bebe1e7729b85bc1c270ebd7ed9 Mon Sep 17 00:00:00 2001 From: zx2021 <64576649+zx2021@users.noreply.github.com> Date: Fri, 31 Mar 2023 21:47:58 +0800 Subject: [PATCH 1/2] Update requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复运行pip install -r requirements.txt提示ERROR: Invalid requirement: '"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"' (from line 4 of requirements.txt) Hint: = is not a valid operator. Did you mean == ?的错误 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1dcbad6..80875b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ langchain transformers unstructured[local-inference] -"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2" +"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2 layoutparser[layoutmodels,tesseract] nltk -sentence-transformers \ No newline at end of file +sentence-transformers From 7d59541718a6f33fe8b0701bc6846fe1375e5f3c Mon Sep 17 00:00:00 2001 From: zx2021 <64576649+zx2021@users.noreply.github.com> Date: Fri, 31 Mar 2023 21:49:16 +0800 Subject: [PATCH 2/2] Update requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复了运行pip install -r requirements.txt提示ERROR: Invalid requirement: '"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2"' (from line 4 of requirements.txt) Hint: = is not a valid operator. Did you mean == ?的错误 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 80875b6..92e0fd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ langchain transformers unstructured[local-inference] -"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2 +detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2 layoutparser[layoutmodels,tesseract] nltk sentence-transformers