- Download and extract the project files
- Run the setup script:
On Windows:
python setup.py
On macOS/Linux:
python3 setup.py
The setup script will:
- Create necessary directories
- Set up virtual environment
- Install required dependencies
- Configure the application
After installation, you have two options:
On Windows:
- Double-click
run.bat
On macOS/Linux:
- Run
./run.sh
in terminal
On Windows:
venv\Scripts\activate
python pdf_printer_app.py
On macOS/Linux:
source venv/bin/activate
python3 pdf_printer_app.py
- Python 3.9 or higher
- PyQt5 5.15.9 or higher
- PyMuPDF (fitz) 1.24.12 or higher
- Operating System: Windows, macOS, or Linux
-
Virtual Environment Issues:
- Make sure Python is in your system PATH
- Use
python3
instead ofpython
on macOS/Linux - On Windows, you might need to run:
Set-ExecutionPolicy RemoteSigned -Scope Process
-
Dependency Issues:
- Try upgrading pip:
python -m pip install --upgrade pip
- Install dependencies one by one if batch install fails
- Try upgrading pip:
-
Permission Issues:
- Run terminal as administrator on Windows
- On macOS/Linux:
- Make run script executable:
chmod +x run.sh
- Use
sudo
if needed for installations
- Make run script executable:
If you encounter any issues:
- Check the error message
- Verify your Python version
- Create an issue on GitHub with:
- Your operating system
- Python version
- Error message
- Steps to reproduce