Posted on 01-13-2023 10:17 AM
Hello ,
I've got problem with python script , first line of script have command to import :
but Jamf PRO have problem like below:
line 1: import: command not found
Do you have some tips how to solve it ?
Solved! Go to Solution.
01-13-2023 10:29 AM - edited 01-13-2023 10:31 AM
@kdpk If your script is Python it must start with a #! line with a path to the Python interpreter installation on your Mac (Python is no longer installed by default)
The MacAdmins Python package is a good place to start if you don't already have a preferred Python distro: https://github.com/macadmins/python
01-13-2023 10:29 AM - edited 01-13-2023 10:31 AM
@kdpk If your script is Python it must start with a #! line with a path to the Python interpreter installation on your Mac (Python is no longer installed by default)
The MacAdmins Python package is a good place to start if you don't already have a preferred Python distro: https://github.com/macadmins/python
Posted on 01-15-2023 09:33 PM