Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 908 Bytes

File metadata and controls

18 lines (12 loc) · 908 Bytes

Python 3

macOS Intune

Overview

Installs the latest Python 3 environment via Homebrew. Apple removed native Python 3 from macOS, making this a critical deployment for developers and data scientists.

What it does

  • Detection: Verifies if python3 exists via brew list python.
  • Privilege Dropping: Safely switches from Intune's root context to the logged-in standard user.
  • Remediation: Installs the python formula via Homebrew, ensuring that pip3 and standard libraries are correctly linked in the user's $PATH.

Intune Deployment Configuration

  • Upload script: install-python.sh
  • Run script as signed-in user: No (Requires root execution initially)