code2care@mac ~ % python
WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.
Python 2.7.16 (default, Nov 23 2020, 08:01:20)
[GCC Apple LLVM 12.0.0 (clang-1200.0.30.4) [+internal-os, ptrauth-isa=sign+stri on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
If you are working on macOS Big Sur, you must have noticed that when you try to access python on Terminal you get an warning saying Python 2.7 is not recommended. You should update to the latest version of Python that is Python 3 (3.8 currently is the latest).
The most easy way to get Python 3 or 3.8 is by just typing python3 on terminal, you will see a pop-up "The python 3 command requires the command line developer tool. Would you like to install it? Click on install, after the installation, check python3 command and you should have it available.
code2care@mac ~ % python3
Python 3.8.2 (default, Nov 4 2020, 21:23:28)
[Clang 12.0.0 (clang-1200.0.32.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
- How to list all users in Mac Terminal
- Docker Desktop needs privileged access macOS
- Mac: How to show count of files and folders in Finder
- How to Change Background Color TextEdit on Mac
- How to adjust MacBook Desktop icons size
- Test internet speed using macOS Terminal command
- How to change the default font and text size in Microsoft Excel for Mac
- How to install Java on macOS [Big Sur]
- How to come out of dquote prompt in Terminal - macOS/Linux
- How to Increase MacBook Trackpad Cursor Speed on macOS Ventura/Sonoma
- Fix: Microsoft Excel Quit Unexpectedly on Mac
- How to Adjust macOS System Font Size
- How to Quit Applications on Mac Using Terminal
- How to check zsh installed version using terminal
- Two Ways to Extract rar (*.rar) files on Mac
- How to Right Click on Mac Desktop?
- How to Add Brew to PATH M1/M2 Mac
- How to search (find) in macOS Terminal Console Text
- macOS 13 Ventura - The New About this Mac Window
- TextEdit Get the count of lines in a file
- How to run .sh file in Mac Terminal
- Google Search Hot Trends Screensaver for Mac OS X
- Check Reboot History Mac
- [Solution] Mac Update Stuck Preparing macOS Ventura 13.0 About 30 minutes remaining
- Display Safari URL address link on hover
- How to Enable Macros on Excel for Mac - MacOS
- All directional arrows codes for HTML - Html
- PowerShell on Mac: The term get-service is not recognized as a name of a cmdlet, function, script file, or executable program - Powershell
- Change TextEdit File Encoding - MacOS
- How to change the Python Default version - Python
- Step-by-Step Guide: How to Fix - Error Establishing a Database Connection in WordPress - PHP
- Write javaScript code in Swedish using FikaScript - JavaScript
- [JEP 430] Java JDK 21 New Feature - String Templates (Preview) - Java-JDK-21