📝 Python

Installing Python

P
Author
Pyland
📅
Published
30.06.2026
⏱️
Reading time
1 min
👁️
Views
114
🌱
Level
Beginner

Or download the installer from python.org.

macOS

# Via Homebrew (recommended)
brew install python@3.12

# Verify
python3 --version

Or download the installer from python.org.

Windows

  1. Download from python.org/downloads
  2. During installation: make sure to check “Add Python to PATH”
  3. Verify:
python --version

Linux (Ubuntu/Debian)

sudo apt update
sudo apt install python3 python3-pip python3-venv

python3 --version

pyenv — version management

# Install pyenv (macOS/Linux)
curl https://pyenv.run | bash

# Install a specific version
pyenv install 3.12.0
pyenv global 3.12.0  # globally
pyenv local 3.11.0   # for the current directory

python --version  # 3.11.0

Verifying the installation

python3 --version      # Python 3.12.0
python3 -m pip --version
python3 -c "print('Hello, Python!')"

IDLE — the built-in IDE

python3 -m idlelib

A simple editor and interactive console to get started.

Python 3.11+ (LTS)
+ VS Code with the Python extension
+ venv virtual environment

Your reaction to the article

💬 Comments (0)

🔐 Sign in to leave a comment
🚪 Login
💭

No comments yet

Be the first to share your opinion about this article!

🔗 Similar

Similar articles

Continue learning with these materials

📝

Event Loop in Python: How asyncio Achieves "Paral…

Event loop is the heart of asyncio. It doesn't run code in parallel across multiple...

📅 30.06.2026 👁️ 123
📝

pytest-django: Testing Django

Охватываемые темы: Installation, @pytest.mark.djangodb, Fixtures, Testing views.

📅 30.06.2026 👁️ 132
📝

pip: Python Package Manager

Охватываемые темы: Installing packages, Upgrading and removing, requirements.txt, Virtual environment.

📅 30.06.2026 👁️ 120

Did you like the article?

Subscribe to our updates and receive new articles first. Grow with PyLand!