Skip to content

Commit

Permalink
Update xpdfreader package installation (#2491)
Browse files Browse the repository at this point in the history
This Update will fix this exception `Exception: pdftotext is not installed. It is part of xpdf or poppler-utils software suite. ` Now, converting PDFs wouldn't have any issues.
  • Loading branch information
AI-Ahmed authored May 3, 2022
1 parent b6e369d commit 9cdd719
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorials/Tutorial16_Document_Classifier_at_Index_Time.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
"\n",
"# Install the latest master of Haystack\n",
"!pip install --upgrade pip\n",
"!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab, ocr]\n",
"!pip install git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack[colab,ocr]\n",
"\n",
"!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.03.tar.gz\n",
"!tar -xvf xpdf-tools-linux-4.03.tar.gz && sudo cp xpdf-tools-linux-4.03/bin64/pdftotext /usr/local/bin\n",
"!wget --no-check-certificate https://dl.xpdfreader.com/xpdf-tools-linux-4.04.tar.gz\n",
"!tar -xvf xpdf-tools-linux-4.04.tar.gz && sudo cp xpdf-tools-linux-4.04/bin64/pdftotext /usr/local/bin\n",
"\n",
"# Install pygraphviz\n",
"!apt install libgraphviz-dev\n",
Expand Down Expand Up @@ -534,4 +534,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit 9cdd719

Please sign in to comment.