transPDF transfer PDF to txt and translated by Tencent-cloud-sdk you need to install poppler-utils to provide "pdftotext" apt install poppler-utils and install tencentcloud-sdk pip install tencentcloud-sdk-python