Get Python Version Mac

broken image


To check the version of Python 3 software: python3 ––version Most systems differentiate Python 2 as python and Python 3 as python3. If you do not have Python 2, your system may use the python command in place of python3.

  1. Get Python Version Mac Free
  2. Change Default Python Version Mac
Feb-06-2019, 08:31 AM
I am running python 3.7.10 on OSX. I am trying to use speech recognition but that requires PyAudio. After about an hour of searching and failing, most sites said PyAudio wasn't compadible with Python 3.7 or above so I tried to uninstall and reinstall python on a different version. However I've tried deleting every individual file and running rm in terminal but if I type python --version into the command prompt the reply is still Verison 3.7.10. I am trying to install version 3.6.8..Can anyone help?
Feb-06-2019, 08:53 AM
In order to learn what Python versions do you have on your machine type python in terminal and hit TAB. You will see list of versions and configurations.
I believe that virtual environments are solution for this kind of problems. You know, in near future you might need insertion-ordered dictionaries and therefore Python 3.7 but you don't want to break your PyAdio setup. There is built-in venv module and several third party modules like pipenv. You just set up virtual environment with 'right' Python version with needed modules and dependencies
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity.Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ..but society is to blame.
Feb-06-2019, 09:40 AM
Thanks, perfringo. Sorry, I'm new to this. How would I go about setting up a Virtual environment with a different Python version. I've given it a go but I can understand the documentation very well.
Feb-06-2019, 10:06 AM
There is quite straightforward tutorial on Python site: Creating virtual environments.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity.Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ..but society is to blame.
Feb-06-2019, 10:18 AM
this is the best solution
Feb-06-2019, 10:32 AM
Thank you for the quick replies perfringo. This is exactly what I wanted!

  1. The Python version appears in the next line right below your command. Check Python Version Mac (Exact Steps) Four steps to check the Python version on your Mac operating system. Press CMD + Space to open Spotlight. Type 'terminal' and press enter. Execute command: type python -version or python -V and press enter.
  2. Useful Python Packages¶. This is a small collecton of useful packages that will help get you started doing useful things with Python. Install flake8, which is a static analyzer that enforces good Python coding style and alerts you to coding mistakes.Now that you have Python installed, you can use the pip command to install any additional modules that you want to use.
  3. In order to use the version of Python through pyenv, it's essential to understand the shell's PATH variable. PATH determines where the shell searches for files by the name of the command. You must ensure the shell will find the version of Python run by pyenv, not the one installed by default (which is often called the system version).
  4. The version at /System/Library/Frameworks/Python.framework is installed by Apple and is used by the system. It is version 3.3 in your case. You can access and use this Python interpreter, but you shouldn't try to remove it, and it may not be the one that comes up when you type 'Python' in a terminal or click on an icon to launch it.
Possibly Related Threads…
ThreadAuthorRepliesViewsLast Post
Optimize a game of life (4 sec for python when 6 ms for C version !)fatango0142Jan-06-2021, 09:13 PM
Last Post: fatango
Error on Python Version?ErnestTBass6436Dec-09-2020, 04:02 PM
Last Post: ErnestTBass
Last Python (64bit) version for Windows 7?pstein3342Nov-15-2020, 02:09 PM
Last Post: jefsummers
Upgrade Python Version ?JohnnyCoffee2496Aug-08-2020, 09:56 PM
Last Post: Larz60+
Windows 10 Python VersionDevSrc86743Aug-07-2020, 12:36 PM
Last Post: DevSrc8
Python version on Linuxwhois12305829Apr-10-2020, 07:12 PM
Last Post: buran
Wrong pip3 python location or new Version007fred5011,141Apr-02-2020, 02:36 PM
Last Post: philgoetz
Error while trying to see Python version with 'sys.executable'karkas51,125Feb-09-2020, 01:55 AM
Last Post: karkas
update certbot's python versionmetulburr01,403Sep-19-2019, 11:51 AM
Last Post: metulburr
Im using python crash course version 2james_newbie3612Sep-07-2019, 09:21 PM
Last Post: ichabod801
Python
Users browsing this thread: 1 Guest(s)

Version
Users browsing this thread: 1 Guest(s)

Download version 3.3.5 for
Windows • Mac •
NB! Windows installer is signed with
new identity and you may receive
a warning dialog from Defender until
it gains more reputation.
Just click 'More info' and
'Run anyway'.

Features

Easy to get started. Thonny comes with Python 3.7 built in, so just one simple installer is needed and you're ready to learn programming. (You can also use a separate Python installation, if necessary.) The initial user interface is stripped of all features that may distract beginners.

No-hassle variables. Once you're done with hello-worlds, select View → Variables and see how your programs and shell commands affect Python variables.

Simple debugger. Just press Ctrl+F5 instead of F5 and you can run your programs step-by-step, no breakpoints needed. Press F6 for a big step and F7 for a small step. Steps follow program structure, not just code lines.

Step through expression evaluation. If you use small steps, then you can even see how Python evaluates your expressions. You can think of this light-blue box as a piece of paper where Python replaces subexpressions with their values, piece-by-piece.

Faithful representation of function calls. Stepping into a function call opens a new window with separate local variables table and code pointer. Good understanding of how function calls work is especially important for understanding recursion.

Highlights syntax errors. Unclosed quotes and parentheses are the most common beginners' syntax errors. Thonny's editor makes these easy to spot.

Explains scopes. Highlighting variable occurrences reminds you that the same name doesn't always mean the same variable and helps spotting typos. Local variables are visually distinguished from globals.

Mode for explaining references. Variables are initially presented according to simplified model (name → value) but you can switch to more realistic model (name → address/id → value).

Code completion. Students can explore APIs with the help of code completion.

Beginner friendly system shell. Select Tools → Open system shell to install extra packages or learn handling Python on command line. PATH and conflicts with other Python interpreters are taken care of by Thonny. How to get google chrome on a mac.

Simple and clean pip GUI. Select Tools → Manage packages for even easier installation of 3rd party packages.

Demo

Credits

Main development of Thonny took place in Institute of Computer Science of University of Tartu, Estonia.


Development of several features in Thonny 3.0 was proposed and supported by Raspberry Pi Foundation.


Since September 2018 development of Thonny is partially supported by Cybernetica AS.

We are also grateful for the help of several contributors from the open-source community around the world.

Instructions & downloads

  • Installation instructions

Get Python Version Mac Free

Latest stable releases are linked in the download box at the top of this page. Free amazon alexa app for mac. Older releases and prereleases can be found at https://github.com/thonny/thonny/releases

Change Default Python Version Mac

Plug-ins

Free download mac os x lion installer. Thonny has simple infrastructure for extensions.

These are some known Thonny plug-ins:

  • thonny-ev3dev allows uploading code to EV3 (and much more)
  • thonny-easy allows loading exercises from lahendus.ut.ee and submitting solutions for automatic assessment.
  • thonny-edison allows uploading Python code to Edison educational robot
  • thonny-dracula adds a dark theme.

Contact & News

Papers





broken image