Appendix A - Installation of Dependencies
Learn about the steps for installing this course's dependencies for your local setup.
We'll cover the following
We learned to manipulate PDF documents using many Python libraries. We already took care of the installations of these libraries and other dependencies on the platform. If you’d like to make a local setup on your computer, you may follow the steps listed below. It would be helpful to familiarize yourself with basic Python administrative tasks, such as making a Python virtual environment. Please also note that the following installations are primarily for Linux-based computers.
The application skeleton
First and foremost, you need to make sure that Python3 is installed on your system.
-
Create a folder for hosting the project called
MyPDFToolbox
. -
Create a virtual environment and activate it.
-
Create a file named
requirements.txt
and add to it the libraries pertinent to each section. You may copy the following content to install all the libraries:
PyPDF4==1.27.0
Pikepdf==3.0.0
reportlab==3.5.59
PyMuPDF==1.18.19
filetype==1.0.7
Pillow==8.0.1
distro==1.6.0
tabula-py==2.3.0
PDFNetPython3==8.1.0
python-docx==0.8.11
python-pptx==0.6.21
pdf2docx==0.5.2
pandas==1.1.4
pytesseract==0.3.7
pyOpenSSL==20.0.1
Borb==2.0.11
scikit-image==0.18.3
imutils==0.5.4
- Install the needed libraries to the project:
pip install –r requirements.txt
Get hands-on with 1400+ tech skills courses.