![]() Secondly, if you want to use a specific third party package or utility that doesn’t yet have a released version that is compatible with Python 3, and porting that package is a non-trivial task, you may choose to use Python 2.7 in order to retain access to that package.Īlternatively, if you’re a newbie to the language and/or your class instructor insists that you begin by learning 3.x, then you’ll need to install it on your Mac. In the past, the site said:įirstly, if you’re deploying to an environment you don’t control, that may impose a specific version, rather than allowing you a free selection from the available versions. ![]() So should you ever be using 2.7? Not unless you absolutely have to and accept that you’ll have to rewrite your code at some point. Python 2 will reach end of life (EOL) in the year 2020. As a result, the 3.x version can’t be depended on to run 2.x scripts. ![]() To do this, backwards compatibility had to be compromised. Even macOS 10.13 High Sierra has Python 2.7.4 as its only version.Īs the Python website says, “ Python 2.x is legacy, Python 3.x is the present and future of the language.” Briefly, in order to move forward technically as a language, the creator, Guido van Rossum, needed to make some significant internal changes. Python 2.x is installed in macOS by default. Note, this article is a significant revision to the original article from July 23, 2014, “ How to Upgrade Your Mac to Python 3.“ ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |