Installation Guide
This guide helps you set up PhD Hunter locally.
Prerequisites
Python: 3.10 or higher
uv: Recommended package manager (or pip)
Browser: Chrome or Chromium (for Selenium)
Step-by-Step Installation
Clone the repository
git clone https://github.com/your-org/phd-hunter.git cd phd-hunter
Install dependencies
Using uv (recommended):
uv syncUsing pip:
python -m venv .venv .venv\Scripts\activate # Windows pip install -e .
Using uv pip:
uv pip install -e .
Install api_infra (REQUIRED for LLM features)
cd src/phd_hunter/api_infra pip install -e . cd ../../..
Install browser driver
PhD Hunter uses Selenium for web crawling. Chrome/Chromium and ChromeDriver are required:
Option A: Automatic installation (recommended)
uv run pip install webdriver-manager
Option B: Manual installation
Download ChromeDriver from https://chromedriver.chromium.org/
Add ChromeDriver to PATH
Configure LLM
Copy the example config and fill in your API key:
cp src/phd_hunter/frontend/hound_config.example.json src/phd_hunter/frontend/hound_config.json
Edit
hound_config.jsonwith your API key, model, and provider settings.
Verify installation
Run a quick check:
python main.py --help
You should see a list of available commands.
Troubleshooting
Issue: ModuleNotFoundError: No module named 'phd_hunter'
Solution: Make sure the package is installed:
pip install -e .
Issue: Selenium WebDriver error
Solution: Ensure Chrome/Chromium is installed and ChromeDriver version matches.
Issue: Permission error on Windows
Solution: Run PowerShell as administrator or modify execution policy:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Next Steps
Read Architecture Overview to understand the architecture
Learn Crawlers to understand crawlers
Check API Reference for API reference