GithubHelp home page GithubHelp logo

Comments (3)

michamos avatar michamos commented on June 26, 2024

Hi, it would be useful if you could provide the full traceback, rather than only the error at the end.

from refextract.

walter-hernandez avatar walter-hernandez commented on June 26, 2024

@tiffsea refextract uses pdftotext in the background. The error seems to be because refextract cannot find pdftotext installed in your system. Try installing it following the instructions for os dependencies here:

https://pypi.org/project/pdftotext/

and installing pdftotext:
pip install pdftotext

as well as:
conda install -c conda-forge poppler

The above solved the issue for me

from refextract.

robinjacobroy avatar robinjacobroy commented on June 26, 2024

@tiffsea To my limited knowledge, pip install pdftotext installs some other package, which is different from what is needed here (correct me if i am wrong). pdftotext(1) version 3.00 is to be installed for refextract.
So, i installed XpdfReader instead (https://www.xpdfreader.com/pdftotext-man.html) using the commands:

wget http://security.ubuntu.com/ubuntu/pool/main/p/poppler/libpoppler73_0.62.0-2ubuntu2.12_amd64.deb
sudo apt-get install ./libpoppler73_0.62.0-2ubuntu2.12_amd64.deb 
wget http://archive.ubuntu.com/ubuntu/pool/universe/x/xpdf/xpdf_3.04-7_amd64.deb 
sudo apt-get install ./xpdf_3.04-7_amd64.deb 

(ref: https://askubuntu.com/questions/1245518/how-to-install-xpdf-on-ubuntu-20-04)

The above solved the issue for me.

from refextract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.