Installation¶
This guide will help you install NoteParser and all its dependencies.
Requirements¶
- Python 3.10+ (Python 3.11+ recommended)
- System dependencies for OCR and media processing (optional)
Installation Methods¶
Option 1: Using pip (Recommended)¶
Install the latest development version:
Install with development tools:
Option 2: Using requirements.txt¶
If you prefer managing dependencies explicitly:
# Clone the repository
git clone https://github.com/CollegeNotesOrg/noteparser.git
cd noteparser
# Create a virtual environment (recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# For development
pip install -r requirements-dev.txt
# Install the package
pip install -e .
Optional Dependencies¶
NoteParser supports additional features through optional dependencies:
PDF Processing¶
Includes:pymupdf, pdfplumber Office Documents¶
Includes:python-docx, python-pptx, openpyxl OCR Capabilities¶
Includes:pytesseract, pillow Everything¶
Includes all optional dependencies.System Dependencies¶
Some features require system packages to be installed:
What These Dependencies Provide¶
- Tesseract OCR: Text extraction from images and scanned documents
- FFmpeg: Audio and video transcription
- Poppler: Enhanced PDF processing
- LibreOffice: Better Office document conversion
Verification¶
Verify your installation:
# Check if NoteParser is installed
noteparser --version
# Test basic functionality
noteparser --help
# Test with a simple file (if you have one)
noteparser parse sample.pdf
Virtual Environment Setup¶
We strongly recommend using a virtual environment:
Docker Installation¶
For containerized deployment:
# Pull the official image (when available)
docker pull collegenotesorg/noteparser:latest
# Or build from source
git clone https://github.com/CollegeNotesOrg/noteparser.git
cd noteparser
docker build -t noteparser .
# Run container
docker run -it --rm -v $(pwd):/workspace noteparser
Development Setup¶
For contributing to NoteParser:
# Clone the repository
git clone https://github.com/CollegeNotesOrg/noteparser.git
cd noteparser
# Create development environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install all dependencies including dev tools
pip install -r requirements-dev.txt
# Install in development mode
pip install -e .[all,dev]
# Install pre-commit hooks
pre-commit install
# Verify installation
pytest tests/ -v
Troubleshooting¶
Common Issues¶
Python Version¶
Ensure you're using Python 3.10 or newer:
Permission Errors¶
On Unix systems, you might need to use --user:
System Dependencies Missing¶
If OCR or media processing fails:
- Verify system dependencies are installed
- Check that executables are in your PATH:
Import Errors¶
If you get import errors, ensure the virtual environment is activated:
Getting Help¶
If you encounter issues:
- Check the troubleshooting guide
- Search existing issues
- Create a new issue with:
- Your Python version
- Operating system
- Complete error message
- Steps to reproduce
What's Next?¶
Once installed, check out:
- Quick Start Guide - Get up and running in 5 minutes
- Configuration - Customize NoteParser for your workflow
- Command Line Interface - Learn the CLI commands