From 3d5f56a8a12478861bc4f1b3a31f744a7799fcd3 Mon Sep 17 00:00:00 2001 From: Matt Robinson Date: Tue, 21 Feb 2023 11:06:43 -0500 Subject: [PATCH] docs: add quotes to `unstructured[local-inference]` install instructions (#1208) ### Summary Corrects the install instruction for local inference to `pip install "unstructured[local-inference]"` --- docs/ecosystem/unstructured.md | 2 +- .../document_loaders/examples/unstructured_file.ipynb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ecosystem/unstructured.md b/docs/ecosystem/unstructured.md index b8402d3d..a7a32a00 100644 --- a/docs/ecosystem/unstructured.md +++ b/docs/ecosystem/unstructured.md @@ -10,7 +10,7 @@ This page is broken into two parts: installation and setup, and then references `unstructured` wrappers. ## Installation and Setup -- Install the Python SDK with `pip install unstructured[local-inference]` +- Install the Python SDK with `pip install "unstructured[local-inference]"` - Install the following system dependencies if they are not already available on your system. Depending on what document types you're parsing, you may not need all of these. - `libmagic-dev` diff --git a/docs/modules/document_loaders/examples/unstructured_file.ipynb b/docs/modules/document_loaders/examples/unstructured_file.ipynb index afa0b18d..6f173c7a 100644 --- a/docs/modules/document_loaders/examples/unstructured_file.ipynb +++ b/docs/modules/document_loaders/examples/unstructured_file.ipynb @@ -17,7 +17,7 @@ "outputs": [], "source": [ "# # Install package\n", - "!pip install unstructured[local-inference]\n", + "!pip install \"unstructured[local-inference]\"\n", "!pip install \"detectron2@git+https://github.com/facebookresearch/detectron2.git@v0.6#egg=detectron2\"\n", "!pip install layoutparser[layoutmodels,tesseract]" ] @@ -166,7 +166,7 @@ "Processing PDF documents works exactly the same way. Unstructured detects the file type and extracts the same types of `elements`. " ] }, - + { "cell_type": "code", "execution_count": 1, @@ -221,7 +221,7 @@ "source": [ "docs[:5]" ] - }, + }, { "cell_type": "code", "execution_count": null,