Installation¶
Install SlideGen on your system using one of the methods below.
Requirements¶
- Python 3.9 or higher
- pip (Python package manager)
Installation Methods¶
PyPI Installation (Recommended)¶
Install from PyPI using pip:
Development Installation¶
For development or to get the latest features:
# Clone the repository
git clone https://github.com/nicolairobles/slidegen
cd slidegen
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
This installs SlideGen in editable mode, so changes to the source code are immediately available.
Verify Installation¶
Check that SlideGen is installed correctly:
You should see the version number (e.g., 0.1.0).
Test the CLI:
Dependencies¶
SlideGen depends on the following packages:
python-pptx>=0.6.21- PowerPoint file generationpyyaml>=6.0- YAML parsingjsonschema>=4.17.0- Schema validationclick>=8.1.0- CLI framework
These are automatically installed when you install SlideGen.
Optional Dependencies¶
For LLM integration features:
openai>=1.0.0- OpenAI API clientfastapi>=0.100.0- Web framework (for prototype)
For development:
pytest>=7.0.0- Testing frameworkmypy>=1.0.0- Type checkingruff>=0.1.0- Linting
Install with dev dependencies:
Platform-Specific Notes¶
macOS¶
No special requirements. Install using pip as shown above.
Linux¶
No special requirements. Install using pip as shown above.
Windows¶
SlideGen works on Windows. If you encounter issues with python-pptx, make sure you have the latest version of pip:
Virtual Environments (Recommended)¶
We recommend using a virtual environment to isolate SlideGen and its dependencies:
# Create virtual environment
python -m venv venv
# Activate virtual environment
# On macOS/Linux:
source venv/bin/activate
# On Windows:
venv\Scripts\activate
# Install SlideGen
pip install slidegen
Upgrading¶
To upgrade to the latest version:
Uninstallation¶
To uninstall SlideGen:
Troubleshooting¶
Permission Errors¶
If you get permission errors, try installing with --user:
Or use a virtual environment (recommended).
Import Errors¶
If you get import errors after installation:
- Make sure SlideGen is installed:
pip show slidegen-pptx - Check your Python version:
python --version(should be 3.9+) - Verify the installation path is in your PYTHONPATH
SSL Certificate Issues¶
If you encounter SSL certificate issues (common on corporate networks):
Next Steps¶
After installation, check out the Quickstart Guide to create your first presentation.