Target Platform: Ignition 8.3.0+
This guide covers installation, upgrading, and verification of the Python 3 Integration module.
- Version: Ignition 8.3.0 or later
- Java: JDK 17+ (included with Ignition 8.3)
- Memory: Minimum 2GB RAM, 4GB+ recommended
- Disk Space: 500MB for module + Python packages
- Recommended: Python 3.9, 3.11, or 3.12
- Note: Module includes bundled Python for Windows/Linux
- macOS Users: Install Python separately or use bundled Python
Download the latest .modl file:
- GitHub Releases: https://github.com/Gaskony-Ignition/ignition-module-python3/releases
- Build from Source: See Development Setup
- Open Ignition Gateway web interface (http://localhost:8088)
- Login with administrator credentials
- Navigate to: Config → System → Modules
- Click Install or Upgrade a Module
- Browse and select the
.modlfile - Click Install
- Gateway will restart automatically
Check module status:
- Go to: Config → System → Modules
- Look for "Python 3 Integration"
- Status should show: ✓ Running
Test in Script Console:
# Test Python 3 execution
result = system.python3.exec("result = 2 + 2")
print(result) # Should print: 4
# Check Python version
version = system.python3.getVersion()
print(version) # e.g., "3.11.5"- Open Ignition Designer
- Go to: Tools → Python 3 IDE
- Connect to Gateway
- Write Python code and click Execute
-
Backup your scripts (recommended):
# Scripts stored in: <gateway-data>/python3/scripts/ cp -r <gateway-data>/python3/scripts/ ~/python3-backup/
-
Install new version using same steps as Standard Installation
- Gateway will detect existing module and upgrade
- One restart required
-
Verify upgrade:
# Check version system.python3.getVersion()
- Scripts preserved: All saved scripts remain intact
- Settings preserved: Gateway configuration retained
- Packages preserved: Installed Python packages remain
- Breaking changes: See CHANGELOG.md
-
Clone repository:
git clone https://github.com/Gaskony-Ignition/ignition-module-python3.git cd ignition-module-python3/python3-integration -
Build module:
./gradlew clean build --no-daemon
-
Locate .modl file:
ls -lh build/libs/*.modl # Python3-2.15.10-signed.modl
-
Install in Gateway using Standard Installation steps
version: '3'
services:
ignition:
image: inductiveautomation/ignition:8.3
ports:
- "8088:8088"
volumes:
- ./python3-integration-signed.modl:/modules/python3.modl
- ignition-data:/usr/local/bin/ignition/data
volumes:
ignition-data:Start container:
docker-compose up -dModule auto-installs on first startup.
- Deploy Ignition Gateway using cloud marketplace or custom AMI/image
- Upload .modl file to cloud storage (S3, Blob Storage, Cloud Storage)
- Install module via Gateway web interface
- Configure networking:
- Gateway: Port 8088 (HTTP) or 8043 (HTTPS)
- Designer: Port 8060 (GAN)
- Enable HTTPS for Gateway web interface
- Use API keys for REST API access
- Configure firewall rules (ports 8088, 8043, 8060)
- See docs/security/CONFIG.md
Gateway Configuration (ignition.conf):
# Python path (optional - uses bundled Python by default)
wrapper.java.additional.101=-Dignition.python3.path=/usr/bin/python3.11
# Process pool size (default: 3)
wrapper.java.additional.102=-Dignition.python3.poolsize=5
# Enable security mode
wrapper.java.additional.103=-Dignition.python3.security=DESIGNER_ADMIN# Create venv
python3 -m venv /path/to/myproject/venv
# Set in module settings or gateway config
VIRTUAL_ENV=/path/to/myproject/venv- Go to: Config → System → Modules
- Find "Python 3 Integration"
- Click Uninstall
- Gateway restarts
# Remove saved scripts
rm -rf <gateway-data>/python3/scripts/
# Remove Python packages (if not using system Python)
rm -rf <gateway-data>/python3/packages/Error: "Module signature invalid"
- Solution: Use signed
.modlfile frombuild/libs/ - Cause: Using unsigned development build
Error: "Incompatible Ignition version"
- Solution: Upgrade to Ignition 8.3.0+
- Check: Config → System → About
- Check logs:
<ignition-install>/logs/wrapper.log - Search for:
Python3orERROR - Common issues:
- Python path not found
- Permissions issue
- Port conflict
See TROUBLESHOOTING.md for complete guide.
After installation:
- Quick Start: QUICK_START.md
- Keyboard Shortcuts: KEYBOARD_SHORTCUTS.md
- Package Management: PACKAGE_MANAGEMENT.md
- Security Configuration: docs/security/CONFIG.md
- Documentation: docs/README.md
- Issues: https://github.com/Gaskony-Ignition/ignition-module-python3/issues
- Changelog: CHANGELOG.md