Files
DeepTutor/scripts
Mark Janzer 9010491bfd fix: prefer unresolved sys.executable to stay inside venv
On macOS with Homebrew Python, `Path(sys.executable).resolve()` follows
the venv symlink back to the system interpreter.  PEP 668 then blocks
pip installs with "externally-managed-environment", causing the setup
tour to fail.

Swap the check order so the unresolved venv path is preferred when it
exists, falling back to the resolved path only when necessary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 11:36:05 -07:00
..
2026-03-15 00:04:34 +08:00