1/5
## Installing Python on a Mac If you're on a Linux or a Windows machine, you can skip this lesson! To install Python on a macOS system, we'll go to the python.org website and download Python. On the python.org website, under Downloads, go to macOS and then scroll down to the latest Python 3.11 release. Click the link for the **Python 3.11.x macOS 64-bit universal2 installer**. The installation file will download to your Downloads folder. We'll then open the installer file, and then agree to the license agreement. We'll click **Continue**, and then **Install**. Python will install automatically. Once the installation is complete, a pop-up message will appear confirming that the installation was successful. We'll then close the installer. We'll open our VS Code terminal, either by clicking **Terminal > New Terminal** or by pressing **Control, Shift, Tilde**. In the VS Code terminal, we can confirm that the correct Python version is installed with: ```bash python3.11 --version ``` We can also try: ```bash python --version ``` Although, as of the recording, I don't have the `python` keyword. If you have multiple versions of Python installed, you can use this command to ensure that you're working with the correct version. We're going to switch to using tools called UV and Moccasin, which will make it easier to work with different versions of Python.
A comprehensive guide to installing Python on a macOS system. This lesson covers downloading the correct version of Python, installing it, and verifying the installation.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Python basics
Introduction to Web3.py
Introduction to Titanoboa
Introduction to Moccasin
How to create an ERC-20
How to test Python code and Vyper smart contract
How to deploy Vyper smart contracts on ZKsync using Moccasin
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on January 14, 2025
Duration: 2h 20min
Duration: 1h 51min
Duration: 58min
Duration: 2h 23min
Duration: 53min
Duration: 2h 24min
Duration: 28min
Duration: 1h 54min
Duration: 11min
Course Overview
About the course
Python basics
Introduction to Web3.py
Introduction to Titanoboa
Introduction to Moccasin
How to create an ERC-20
How to test Python code and Vyper smart contract
How to deploy Vyper smart contracts on ZKsync using Moccasin
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on January 14, 2025
Testimonials
Read what our students have to say about this course.
Chainlink
Chainlink
Gustavo Gonzalez
Solutions Engineer at OpenZeppelin
Francesco Andreoli
Lead Devrel at Metamask
Albert Hu
DeForm Founding Engineer
Radek
Senior Developer Advocate at Ceramic
Boidushya
WalletConnect
Idris
Developer Relations Engineer at Axelar