Posted on 11-07-2021 04:09 AM
I have a script I need to run in using the Python 3 command. Terminal example: Python 3 scriptpath.py
How can I run it via Jamf and verify that runs via Python 3? My estimation is that Jamf is using the computer’s default while I need it to select Python 3 instead of Python which happens for some computers.
Posted on 11-09-2021 10:47 AM
The first line of your script SHOULD be pointed to the desired location of python 3 on your systems such as:
#!/usr/local/bin/managed_python3
Posted on 11-09-2021 12:48 PM
I wrote a blog post about shipping and using your own Pyton3, which we have done for a few years here. This might help you figure it out, hope it helps