Python System Requirements
Introduction
As we know, Python is a popular programming language usually used to write scripts for operating systems. It’s handy adequate for utilizing in web development and application design.
In this article, we will discuss the hardware and software requirements for Python. We can download Python from https://www.python.org/downloads. The latest Python version is Python 3.9.1.
Operating Systems:
Windows 7 or 10
Mac OS X 10.11 or higher, 64-bit
Linux: RHEL 6/7, 64-bit (almost all libraries also work in Ubuntu)
CPU Architecture:
Dual-core Intel Core i5 or similar
Graphics card
x86 64-bit CPU (Intel / AMD architecture)
RAM and free disk space:
4 GB RAM
5 GB free disk space
Installing Python on Windows
Prerequisites:
- A system operating Windows
- Command Prompt (comes with windows by default).
Steps for downloading Python:
1. We can download Python from the official Python website.
2. Select the latest version.
3. Select from Windows x86-64 executable installer or Windows x86 executable installer link.
4. Run the Python Installer after downloading the Python and Add the Python version to PATH checkboxes.
5. Select the install now option.
Installing Python on Mac OS
Prerequisites:
- Apple's Integrated Development Environment (IDE)
- Homebrew(Package manager in Mac OS).
Steps for installing Python with Brew:
1. Enter the brew command into the terminal
--brew install python3.
2. Set up the PATH environment variable.
3. Add the following line to the ~/.profile file
export PATH=/usr/local/bin:/usr/local/sbin:$PATH.
4. Python installation directory looks like this you should add it to the PATH.
PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}".
Installing Python on Linux
For installing Python on Linux, You have to install the development packages in Linux for Python.
On Debian:
$ sudo apt update
$ sudo apt install build-essential zlib1g-dev \
libncurses5-dev libgdbm-dev libnss3-dev \
libssl-dev libreadline-dev libffi-dev curl
On Fedora:
$ sudo dnf groupinstall development
Steps for installing Python on Linux:
1. You can download the latest version of Python from the official Python website 2. Extract the tar.xz archive file. It contains the source code of Python. It can be extracted with $ tar -xf Python-3.?.?.tar.xz.
3. Configuring the script with$ cd Python-3.*
./configure.
4. verify the installation with typing python3 --version in the terminal.