Skip to content

v1.0.10: Cross-Platform Pip Detection

Choose a tag to compare

@troylar troylar released this 07 Nov 16:35
· 82 commits to main since this release

�� Cross-Platform Fix

Smart Pip Command Detection

The update command now automatically detects the correct pip command for your system!

The Problem:

  • Windows: python3 -m pip doesn't work (no python3 command)
  • Some Linux/Mac: pip doesn't exist (only pip3 or python3 -m pip)
  • Update command was hardcoded to python3 -m pip, breaking on Windows

The Fix:
The update command now tries these in order:

  1. pip (most common, especially Windows)
  2. pip3 (common on Linux/Mac)
  3. python -m pip (Windows fallback)
  4. python3 -m pip (Linux/Mac fallback)

Uses the first one that works!

🎯 What This Means

Windows users:

  • ai-journal-kit update now works! 🎉
  • Uses pip install --upgrade automatically

Linux/Mac users:

  • Already worked, but now more robust
  • Handles edge cases where pip isn't in PATH

Everyone:

  • Error messages now show the correct command for YOUR system
  • Better cross-platform compatibility

�� Upgrade

# On Windows
pip install --upgrade ai-journal-kit

# On Linux/Mac
pip3 install --upgrade ai-journal-kit
# or
python3 -m pip install --upgrade ai-journal-kit

After upgrading, ai-journal-kit update will work on any platform! ✨


Full Changelog: v1.0.9...v1.0.10