Script result: Traceback (most recent call last):
File "/Library/Application Support/JAMF/tmp/Defer Software Updates", line 29, in <module>
from AppKit import NSWorkspace
ModuleNotFoundError: No module named 'AppKit'
Python 3
Note: Issues opened without specifying one of the following options will be ignored.
[ ] I am using the macadmins Python distribution that I installed on the affected Mac.
[X] I am using a Python 3 runtime I installed myself, and I updated the script's shebang to point to the that python3 binary.
To Reproduce
Steps to reproduce the behavior:
I run the prompt policy that calls the script. Get the following error:
Script result: Traceback (most recent call last):
File "/Library/Application Support/JAMF/tmp/Defer Software Updates", line 29, in <module>
from AppKit import NSWorkspace
ModuleNotFoundError: No module named 'AppKit'
Describe the bug
Python 3
Note: Issues opened without specifying one of the following options will be ignored.
python3
binary.To Reproduce Steps to reproduce the behavior: I run the prompt policy that calls the script. Get the following error:
What am I missing? running macOS 12.3.1