Skip to Content
Introducing Python
book

Introducing Python

by Bill Lubanovic
November 2014
Beginner
481 pages
10h 11m
English
O'Reilly Media, Inc.
Content preview from Introducing Python

Appendix D. Install Python 3

By the time Python 3 is preinstalled on every machine, toasters will be replaced by 3-D printers that crank out daily doughnuts with sprinkles. Windows doesn’t have Python at all, and OS X, Linux, and Unix tend to have old versions. Until they catch up, you’ll probably need to install Python 3 yourself.

The following sections describe how to carry out these tasks:

  • Find out what version of Python you have on your computer, if any

  • Install the standard distribution of Python 3, if you don’t have it

  • Install the Anaconda distribution of scientific Python modules

  • Install pip and virtualenv, if you can’t modify your system

  • Install conda as an alternative to pip

Most of the examples in this book were written and tested with Python 3.3, the most recent stable version at the time of writing. Some used 3.4, which was released during the editing process. The What’s New in Python page presents what was added in each version. There are many sources of Python and many ways to install a new version. In this appendix, I’ll describe two of these ways:

  • If you just want the standard interpreter and libraries, I recommend going to the official language site.

  • If you would like Python together with the standard library, and the great scientific libraries described in Appendix C, use Anaconda.

Install Standard Python

Go to the Python download page with your web browser. It tries to guess your operating system and present the appropriate choices, but if ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Introducing Python, 2nd Edition

Introducing Python, 2nd Edition

Bill Lubanovic
Introduction to Python

Introduction to Python

Jessica McKellar
Serious Python

Serious Python

Julien Danjou
Python Workout

Python Workout

Reuven M. Lerner

Publisher Resources

ISBN: 9781449361167Errata Page