Python Software Setup & Installation

Python Software Setup & Installation: Open the terminal window and type a search bar “Python” if it has already installed and which version of the software has been installed. Try to download the latest versions of the software.
(or)
Open your Command Line (cmd.exe) and type



Python Software Setup & Installation

C:\Users\Your Name>python –version

If you want to know whether Python is Installed in Linux or Mac. Open Command line in Linux & in Mac Open the terminal and type.

python –version

If you found that Python software is not installed on your device then you can get it from the official website https://www.python.org

Python Windows Installation

We are providing a few simple steps for installing Python on Windows Device.

  • Open a browser and go to https://www.python.org/downloads.
  • Search the link for windows installer python-XYZ .msi file where XYZ  is the version you need to install.
  • For using this installer, your windows must support Microsoft Installer 2.0. Save the Installer file to local machine and then run it to find out if your machine is supporting MSI.
  • Run the downloaded file. It will open the Python install page, which is easy to use. Just accept the default settings given and finish the installation.
  • And finally, we are done with the process.

Python Unix and Linux Installation

We have attached a few simple steps for Installing Python on Unix & Linux Devices

  • Open a browser and go to https://www.python.org/downloads.
  • Search the link of Zipped file for Linux & Unix.
  • Download it and extra files there.
  • If you want to customize the options edit with Modules/ setup.
  • Run ./ configuration script.
  • Then click ok. Do installation

Finally, it installs Python at a standard location of your device  /usr/local/bin and libraries are at /usr/local/lib/pythonXX where xx is the version of python you have downloaded.

Python Mac Installation & Setup

Today all Mac Os’s come with Python installed, but they are not the updated versions. If users want to get current Mac Version just follow the URL http://www.python.org/download/mac for instructions on getting the current version along with some extra tools to support development on the Mac. While for all the old Mac OS X 10.3 (released in 2003), macPyhton is available.

What is the PATH?

After installing any program or software in your devices can be maintained in many directories. So, the operating system provides a search path to the directories that the OS searches for executable files.

All the paths are stores at environment variable, which is named as a string which is maintained by the Operating system. And this variable contains information available to the command shell and other programs.

In the Unix & windows, the path variable is named as the path. While in Mac OS, installer handles all the path details. For invoking your Python interpreter from any directory, you need to add Python to your path.

How to Set a PATH in Unix/Linux?

If you want to add Python directory to a path in UNIX follow these steps:

  •  In csh shell– type setenv PATH “$PATH/usr/local/bin/python” and then press the enter button.
  • In bash shell (Linux) – type export PATH=”$PATH:/usr/local/bin/python” and press enter the button.
  • In sh or ksh shell– type PATH=”$PATH:/usr/local/bin/python” and press enter the button.

Note: Here /usr/local/bin/python is the path of the python directory.

Setting path at Windows

To set the Python path in windows follow these steps: At command prompt – type path%; C:\Python and then press enter.

Note: Here, C:\Python is the path directory

After reading the article, make sure with the software you are using and then download the software by knowing the compatibility of your mobile. And then follow steps for Python software setup and installation on your devices.