#!/usr/bin/env bash # Installs the Python packages the authoring scripts need (numpy) into Scripts/Authoring/.pylib with the # engine's own Python, so nothing is installed into the engine. Run once per machine. UE_ROOT overrides the engine. set -eu UE_ROOT="${UE_ROOT:-D:/UE_5.8}" ROOT="$(cd "$(dirname "$0")/../.." && pwd)" "$UE_ROOT/Engine/Binaries/ThirdParty/Python3/Win64/python.exe" -m pip install --quiet --target "$ROOT/Scripts/Authoring/.pylib" numpy echo "installed into $ROOT/Scripts/Authoring/.pylib"