Files
2026-05-15 10:44:57 -04:00

3.4 KiB

Installation Guide

Step-by-step setup for Scribd PDF Downloader on Windows, macOS, and Linux.


Prerequisites

  • Python 3.10 or newer — python.org/downloads
    • On Windows, check “Add python.exe to PATH” during install.
  • Internet — to install packages and download Chromium (~150 MB).
  • Disk space — ~1 GB for venv + browsers; more if you build a standalone app.

Check Python:

python --version

Windows installation

1. Open the project folder

cd "C:\Users\Michael Sloan\Desktop\git\Scribe PDF Downloader"

(Use your actual path if different.)

2. Create a virtual environment

python -m venv .venv

3. Activate the virtual environment

.\.venv\Scripts\Activate.ps1

If you see an execution policy error:

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

Then activate again.

4. Install Python packages

pip install -r requirements.txt

5. Install Chromium for Playwright

playwright install chromium

6. Run the app

GUI (recommended):

# With venv active:
python gui.py

Or double-click Start Scribd Downloader.bat (uses .venv automatically).

Command line:

.\.venv\Scripts\python.exe main.py download "https://www.scribd.com/document/123456789/Your-Document"

Important: Always use .\.venv\Scripts\python.exe if you are not sure the venv is active. Using plain python often hits the system install and causes ModuleNotFoundError: No module named 'rich'.


macOS installation

cd ~/path/to/Scribe\ PDF\ Downloader
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
playwright install chromium
python gui.py

Linux installation

cd /path/to/Scribe\ PDF\ Downloader
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
playwright install chromium
python gui.py

You may need system libraries for Chromium:

playwright install-deps chromium

Optional: build tools

Only needed to create a standalone .exe or .app:

pip install -r requirements-build.txt

See BUILD.md.


Verify installation

.\.venv\Scripts\python.exe -c "import playwright, rich, PIL; print('OK')"
.\.venv\Scripts\python.exe main.py --help

Login (books & private documents)

.\.venv\Scripts\python.exe main.py login

A browser window opens. Sign in to Scribd, then wait until your account appears. Cookies are saved to session.json in the project folder.

Check status:

.\.venv\Scripts\python.exe main.py status

Uninstall

  1. Delete the project folder (includes .venv and browsers).
  2. No system-wide install is required if you only used a venv.

Troubleshooting

Error Solution
python not found Reinstall Python with PATH enabled, or use py -3 on Windows
ModuleNotFoundError Use .\.venv\Scripts\python.exe, not global Python
Playwright browser missing Run playwright install chromium inside the venv
GUI does not open Run python gui.py from a terminal to see errors
Permission denied on .venv Run terminal as normal user, not from a protected folder

More detail: AIDNA.md and README.md.