This blog will walk you through how to download, install, and run Python on Windows, macOS, Linux, and even Android (yes, really). Let’s get started!
--
💻 1. Installing Python on Windows
✅ Step 1: Download Python
Go to the official website: https://python.org
Click on Downloads > Select Windows
Download the latest stable version (e.g., Python 3.12.x)
✅ Step 2: Install Python
Run the downloaded .exe file
Important: Check the box “Add Python to PATH”
Click Install Now and wait
✅ Step 3: Verify Installation
Open Command Prompt and type:
You should see something like:
✅ Step 4: Run Your First Program
Open IDLE (comes with Python), type:
--
🍎 2. Installing Python on macOS
✅ Step 1: Use the Official Installer
Visit: https://python.org/downloads
Click macOS Installer (.pkg file)
✅ Step 2: Install It
Open the downloaded .pkg file
Follow the on-screen instructions
✅ Step 3: Check Installation
Open Terminal and type:
✅ Step 4: Run Python Code
Still in Terminal:
You’ll enter interactive mode. Try:
> 💡 macOS includes Python 2.x by default, so always use python3 and pip3.
--
🐧 3. Installing Python on Linux (Ubuntu/Debian)
Most Linux distros come with Python pre-installed. But here’s how to update or install it:
✅ Step 1: Update Package List
✅ Step 2: Install Python
✅ Step 3: Install pip (Python Package Manager)
✅ Step 4: Run a Python Program
--
📱 4. Running Python on Android
You don’t need a PC to learn Python! You can start coding on your Android phone.
✅ Option 1: Use Pydroid 3
Install Pydroid 3 from the Play Store
It comes with an IDE, terminal, and pip support
Start coding right away!
✅ Option 2: Use Online IDEs
Visit: https://replit.com
or
Code in Python with no setup at all
---
🔍 Common Issues & Fixes
Issue Solution
'python' is not recognized : Add Python to PATH during install (Windows)
Wrong version is running : Use python3 instead of python (mac/Linux)
Can't install packages : Use pip install packagename with admin rights
IDLE not opening : Use Terminal/Command Prompt instead
--
📦 Bonus: Installing Python Packages
Once Python is installed, you can install libraries using:
--
🧠 Final Thoughts
Installing Python is your first step into the coding universe. Whether you're building a machine learning model, automating tasks, or just exploring, Python is the perfect companion.
--
Also Read: Top 5 Python Programs for begginers
Also Read: Introduction to Python
0 Comments