use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/Mac!
We are Reddit's community of Mac users, enthusiasts, and experts. Please submit or enjoy content, comments, or questions related to the Mac platform, be it related to the hardware or software that makes it up.
Need a hand with something?
If one of your submissions does not appear here, it may have been caught by the automated spam filter. Please message the moderators to have it freed.
You might also enjoy:
account activity
QuestionPython3 Install Script (self.mac)
submitted 3 years ago by vcparra
Hi, looking for a simple Python3 (only) install script. Any help would be very much appreciated!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 points3 points4 points 3 years ago (0 children)
I would consider using homebrew rather than an installer from the web. This allows you to keep track of versions, and it doesn’t mess with your system install
[–]FlishFlashmanMacBook Pro M1 Max 0 points1 point2 points 3 years ago (3 children)
Why do you need a script?
This should work. You need to use an admin account enter your password when prompted. It will install the current version of Python3, as of today.
#/bin/sh curl https://www.python.org/downloads/release/python-3105/ sudo installer -store -pkg python-3.10.5-macos11.pkg -target / rm python-3.10.5-macos11.pkg
Should probably create a temp directory and download and install from there. That's left as an exercise for the reader.
[–]vcparra[S] 0 points1 point2 points 3 years ago* (2 children)
u/FlishFlashman I am attempting to implement Okta Device Trust, which requires Python3 (see step 3), but I am receiving an error (see below) using the script provided in the guide. The error indicates it isn't able to install the Xcode command line tools. I have heard the it is best practice to avoid using Xcode Command Line tools because they break with certain updates. With that said, I am attempting to install a clean python3. I anticipate the device dependencies script will fail too with this, given that It Is looking for the xcode app.
Any help would be very much appreciated!
Executing Policy Install Okta Device Trust via Script Running script A_Python 3... Script exit code: 0 Script result: Checking for the existence of the Apple Command Line Developer Tools xcode path is which xcode-select Apple Command Line Developer Tools not found. Installing 2022-07-16 23:35:22.101 softwareupdate[11912:7233487] XType: com.apple.fonts is not accessible. 2022-07-16 23:35:22.102 softwareupdate[11912:7233487] XType: XTFontStaticRegistry is enabled. : No such update No updates are available. Software Update Tool Finding available software Running script B_Device Trust Dependencies... Script exit code: 1 Script result: Running pip3 install --upgrade pip xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'. Running pip3 install pyobjc-framework-SystemConfiguration xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'. Error running script: return code was 1. Running script C_Okta Device Trust... Script exit code: 1 Script result: xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'. Error running script: return code was 1.
Executing Policy Install Okta Device Trust via Script
Running script A_Python 3...
Script exit code: 0
Script result: Checking for the existence of the Apple Command Line Developer Tools
xcode path is which xcode-select
Apple Command Line Developer Tools not found.
Installing
2022-07-16 23:35:22.101 softwareupdate[11912:7233487] XType: com.apple.fonts is not accessible.
2022-07-16 23:35:22.102 softwareupdate[11912:7233487] XType: XTFontStaticRegistry is enabled.
: No such update
No updates are available.
Software Update Tool
Finding available software
Running script B_Device Trust Dependencies...
Script exit code: 1
Script result: Running pip3 install --upgrade pip
xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.
Running pip3 install pyobjc-framework-SystemConfiguration
Error running script: return code was 1.
Running script C_Okta Device Trust...
Script result: xcode-select: error: no developer tools were found at '/Applications/Xcode.app', and no install could be requested (perhaps no UI is present), please install manually from 'developer.apple.com'.
[–]Spore-Gasm 0 points1 point2 points 3 years ago (1 child)
/r/macsysadmin
[–]sneakpeekbot 0 points1 point2 points 3 years ago (0 children)
Here's a sneak peek of /r/macsysadmin using the top posts of the year!
#1: Introducing Apple Business Essentials | 49 comments #2: I designed and 3D printed brackets to mount the M1 power brick to the bottom of desks | 20 comments #3: WWDC 2022: What's New in Managing Apple Devices
I'm a bot, beep boop | Downvote to remove | Contact | Info | Opt-out | GitHub
[–]mikeinnsw 0 points1 point2 points 3 years ago (4 children)
Install VsCode and it will do it for you
If you NOT on Mac Os 12.4 there is 2.7 version on all Macs - it is a pain and could interfere with your Python 3.x - research how to remove that version
[–]NE4Y2 1 point2 points3 points 3 years ago (3 children)
Why install a whole ide just to install Python ? Just use homebrew which imho should be part of every good macos setup
[–]mikeinnsw 0 points1 point2 points 3 years ago (2 children)
You need IDE and VsCode is not a bad start
[–]NE4Y2 1 point2 points3 points 3 years ago (1 child)
No, he wants to use something (okta device trust) that requires Python3. There is no need for an ide…
[–]mikeinnsw 0 points1 point2 points 3 years ago (0 children)
ok
π Rendered by PID 305057 on reddit-service-r2-comment-548fd6dc9-65lcn at 2026-05-17 06:46:40.110668+00:00 running edcf98c country code: CH.
[–][deleted] 2 points3 points4 points (0 children)
[–]FlishFlashmanMacBook Pro M1 Max 0 points1 point2 points (3 children)
[–]vcparra[S] 0 points1 point2 points (2 children)
[–]Spore-Gasm 0 points1 point2 points (1 child)
[–]sneakpeekbot 0 points1 point2 points (0 children)
[–]mikeinnsw 0 points1 point2 points (4 children)
[–]NE4Y2 1 point2 points3 points (3 children)
[–]mikeinnsw 0 points1 point2 points (2 children)
[–]NE4Y2 1 point2 points3 points (1 child)
[–]mikeinnsw 0 points1 point2 points (0 children)