O'Reilly logo

Mastering pandas by Femi Anthony

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python installation

Here, we detail the installation of Python on multiple platforms – Linux, Windows, and Mac OS X.

Linux

If you're using Linux, Python most probably came pre-installed. If you're not sure, type the following at the command prompt:

   which python

Python is likely to be found in one of the following folders on Linux depending upon your distribution and particular installation:

  • /usr/bin/python
  • /bin/python
  • /usr/local/bin/python
  • /opt/local/bin/python

You can determine which particular version of Python is installed, by typing the following in the command prompt:

python --version

In the rare event that Python isn't already installed, you need to figure out which flavor of Linux you're using, then download and install it. Here are the install ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required