I just started getting the same thing on my system (Ubuntu). After a lot of Google/StackExchange, this worked (copy from my annotations):
For whatever reason, in order to install the following two, I had to install some stuff on my Ubuntu Mate ** system-wide ** to get rid of compile errors:
make sure you have these two installed:
python-dev
libevent-dev
Yup i installed them . NO matter what i do, i keep getting this error --> "ERROR: Command errored out with exit status 1"
and i installed gcc too!
I just started getting the same thing on my system (Ubuntu). After a lot of Google/StackExchange, this worked (copy from my annotations):
For whatever reason, in order to install the following two, I had to install some stuff on my Ubuntu Mate ** system-wide ** to get rid of compile errors:
I'm using PyCharmCE. After the above, I could use this in the PyCharm terminal:
After I did all of that, successful! Program works like a charm (hehe).
Cheers!
Thanks for sharing your solution!
A pleasure to finally be able to give back a little!
I have a Mac, brother. Can't use app-get. what should i do now?
Are you using the default Python 2.7?? You may need to use Python 3.x
I got this working on the Mac using Python 3.7.4 using virtual env and brew. Works fine.
I am using docker with my Macbook without any issue. And it is a great alternative to start working on any environment, stack, etc.
They mention what all has to be installed for various O.S's in here pypi.org/project/pdftotext/