How to Extract PDF Tables in Python To run this: You need to install required dependencies for the camelot library here. pip3 install -r requirements.txt. pdf_table_extractor_camelot.py is using camelot library. pdf_table_extractor_tabula.py is using tabula-py library.