Installation Troubleshooting¶
Installation failed? Don't worry — most installation issues have simple fixes. This guide covers the top 5 installation failures and their solutions.
Quick Diagnosis¶
Before diving into specific errors, try these quick checks:
# Check your Python version (must be 3.11+)
python --version
# Check which Python you're using
which python
# Check if you're in a virtual environment
echo $VIRTUAL_ENV
If Python version is <3.11, upgrade first: Python Installation Guide
Error 1: Python Version Issues¶
Symptom¶
Cause¶
Seeknal requires Python 3.11 or higher. You're running an older version.
Solution¶
Option 1: Install Python 3.11+ (Recommended)¶
macOS (using Homebrew):
Ubuntu/Debian:
Windows: - Download from python.org - During installation, check "Add Python to PATH"
Option 2: Use pyenv (macOS/Linux)¶
# Install pyenv
brew install pyenv # macOS
# or
curl https://pyenv.run | bash # Linux
# Install Python 3.11
pyenv install 3.11
# Set as local version for this project
pyenv local 3.11
# Verify
python --version
Option 3: Use conda¶
# Create environment with Python 3.11
conda create -n seeknal python=3.11
conda activate seeknal
# Verify
python --version
Error 2: Permission Errors¶
Symptom¶
Cause¶
Trying to install to system Python without proper permissions.
Solution¶
Option 1: Use Virtual Environment (Recommended)¶
# Create a virtual environment
python -m venv .venv
# Activate it
source .venv/bin/activate # Linux/macOS
.\\.venv\\Scripts\\activate # Windows
# Now install Seeknal
pip install seeknal
Option 2: Use User Install¶
# Install to user directory (no sudo needed)
pip install --user seeknal
# Add user bin to PATH (add to ~/.bashrc or ~/.zshrc)
export PATH="$HOME/.local/bin:$PATH"
Option 3: Fix System Permissions (Not Recommended)¶
Error 3: Build Tool Errors (Windows)¶
Symptom¶
Cause¶
Some Python packages require C compilation on Windows.
Solution¶
Option 1: Install from PyPI (Recommended)¶
Seeknal distributes pre-built wheels on PyPI:
Option 2: Install Visual Studio Build Tools¶
If you need to build from source:
- Download Visual Studio Build Tools
- Install "Desktop development with C++"
- Re-run installation
Error 4: OpenSSL Issues (macOS)¶
Symptom¶
or
Cause¶
OpenSSL library issues on macOS, especially with Homebrew Python.
Solution¶
Option 1: Fix OpenSSL Paths¶
# Set OpenSSL paths
export LDFLAGS="-L$(brew --prefix openssl)/lib"
export CPPFLAGS="-I$(brew --prefix openssl)/include"
export PKG_CONFIG_PATH="$(brew --prefix openssl)/lib/pkgconfig"
# Reinstall Python
brew reinstall python@3.11
Option 2: Use System Python¶
# Use macOS system Python instead of Homebrew
/usr/bin/python3 --version
# Create virtual environment with system Python
/usr/bin/python3 -m venv .venv
source .venv/bin/activate
Option 3: Use pyenv¶
Error 5: Missing Build Dependencies (Linux)¶
Symptom¶
or
Cause¶
Missing Python development headers and build tools.
Solution¶
Ubuntu/Debian¶
CentOS/RHEL/Fedora¶
Arch Linux¶
Verification¶
After fixing the issue, verify your installation:
# Check Seeknal is installed
pip show seeknal
# Test import
python -c "from seeknal.tasks.duckdb import DuckDBTask; print('✓ Seeknal installed successfully!')"
# Check version
seeknal --version
Expected output:
Still Having Issues?¶
1. Check the Logs¶
Enable verbose output to see what's happening:
2. Try a Clean Install¶
# Remove old installation
pip uninstall seeknal
# Create fresh virtual environment
python -m venv .venv
source .venv/bin/activate
# Upgrade pip
pip install --upgrade pip
# Install Seeknal
pip install seeknal
3. Search GitHub Issues¶
Search existing issues — someone may have solved your problem already.
4. Open a New Issue¶
If nothing works, open an issue on GitHub with:
- Your OS: Windows/macOS/Linux (which version?)
- Python version:
python --version - pip version:
pip --version - Error message: Full error output
- Installation method: pip or uv
5. Community Help¶
- GitHub Discussions — Ask the community
- Check if your question has been answered before posting
Prevention Tips¶
Best practices to avoid installation issues:
- Always use virtual environments — Keeps projects isolated
- Keep Python updated — Use latest 3.11+ or 3.12+
- Use uv for faster installs — More reliable than pip
- Read error messages carefully — They usually tell you what's wrong
- Keep build tools updated — Especially on Windows and Linux
Quick Reference: Common Commands¶
# Check Python version
python --version
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Linux/macOS
.\\.venv\\Scripts\\activate # Windows
# Install from PyPI (recommended)
pip install seeknal
# Verify installation
pip show seeknal
python -c "from seeknal.tasks.duckdb import DuckDBTask; print('OK')"
seeknal --version
Still stuck? Installation Guide | Open an Issue | Community Discussions