Closed raynardj closed 2 years ago
We could use the pip install unpackai[PDF]
feature as mentioned here: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#optional-dependencies
s*** I totally didn't know about this, thanks!!!!
ah...that's what the brackets about
Your code is actually running a command and assumes that it is installed.
I would recommend using the high-level functions: https://pdfminersix.readthedocs.io/en/latest/reference/highlevel.html#extract-text
I can re-write the code accordingly.
I do have a proper working code for this situation, but we have to make sure pdf miner is installed.
I do not intend to put pdfminer into requirements, as it's not related to most of the other tasks.