Mac OS does not have apt-get in the terminal. Follow this guide for directions on how to install pip on mac. You can also reference this stack overflow question

Answer from Jake P on Stack Overflow
🌐
Flask
flask.palletsprojects.com › en › stable › installation
Installation — Flask Documentation (3.1.x)
$ mkdir myproject $ cd myproject ... of the activated environment. Within the activated environment, use the following command to install Flask: $ pip install Flask ·...
🌐
GitHub
gist.github.com › dineshviswanath › af72af0ae2031cd9949f
How to install python and Flask on Mac OS X · GitHub
Mac OS uses default 2.x version out of box. To check whether, python has been installed successfully. try the following command. ... Above step ensure that Python 3.5 has been installed successfully. This is the high level outline of this post: Mas OS X -> Python 3.5 -> Virtaulenv -> Flask --> app.py(first Hello world )
🌐
Python Geeks
pythongeeks.org › python geeks › learn flask › flask installation in easy steps
Flask Installation in Easy Steps - Python Geeks
May 5, 2023 - Here are the steps you need to ... on Ubuntu, you can run the following command to install Python: sudo apt-get update sudo apt-get install python3 ·...
🌐
Codementor
codementor.io › community › getting started with flask
Getting Started With Flask | Codementor
September 2, 2020 - It’s great for beginners because it is easy to set up, actively supported by the community, well documented and simple and minimalistic. It’s also possible to build scalable and secure web apps with Flask · A free and open-source software package management system that simplifies the installation of software on Apple’s Mac OS operating system and Linux.
🌐
PhoenixNAP
phoenixnap.com › home › kb › devops and development › how to install flask on linux, windows, and macos
How to Install Flask on Linux, Windows, and macOS
December 11, 2025 - Install Flask within the activated environment using pip: ... Flask is installed automatically with all the dependencies. Note: When working in a typical environment, users need to use pip3 and python3 to ensure ...
🌐
PyPI
pypi.org › project › Flask
Flask · PyPI
If you're not sure which to choose, learn more about installing packages. ... Filter files by name, interpreter, ABI, and platform. If you're not sure about the file name format, learn more about wheel file names. ... Details for the file flask-3.1.3.tar.gz. ... See more details on using hashes here.
      » pip install Flask
    
Published   Feb 19, 2026
Version   3.1.3
🌐
Topherpedersen
topherpedersen.blog › 2019 › 12 › 28 › how-to-setup-a-new-flask-app-on-a-mac
How to Setup a New Flask App on a Mac | topherpedersen.blog
In the past I’ve done all of my Python/Flask development on a Windows desktop computer, but since I’m now doing all of my development on a Macbook Pro, I wanted to write another little quickstart reference for myself or anyone else out there on the internet to get up and running with Python and Flask on a Mac (assumes you’ve already installed Python 3, if you haven’t, please visit https://python.org): First, create a directory for your new Flask project · $ mkdir MyNewFlaskApp · Navigate to your newly created directory · $ cd MyNewFlaskApp · Create your virtual environment · $ python3 -m venv venv ·
Find elsewhere
🌐
YouTube
youtube.com › watch
How to install flask in Python on Mac | Step by Step tutorial - YouTube
Learn how to install Flask in Python on your Mac in less than 3 minutes.You will learn in this video how to install Flask in Python using 'terminal' on Mac.T...
Published   January 16, 2022
🌐
Twilio
twilio.com › docs › usage › tutorials › how-to-set-up-your-python-and-flask-development-environment
Set up your Python and Flask development environment | Twilio
You'll install Python, create virtual environments, install Flask and the Twilio SDK, and set up ngrok for webhook testing. ... Consult the README for the latest supported Python version. To check your Python version, open a terminal and run: ... On macOS, the python command might refer to Python 2, and python3 refers to Python 3.
🌐
Medium
amulyareddyk97.medium.com › setting-up-flask-on-mac-osx-sierra-7a682e2b6b17
Setting up Flask on Mac OSX Sierra | by Amulya Reddy Konda | Medium
November 19, 2019 - pip install Flask · 17. New versions use the following · virtualenv -p python3 env . ./env/bin/activate python3 -m pip install -r requirements.txt · 18. Use python3 -m pip install packagname if pip is not correctly configured.
🌐
Finxter
blog.finxter.com › home › learn python blog › how to install flask in python?
How to Install flask in Python? - Be on the Right Side of Change
September 28, 2021 - If it doesn’t work, try "pip3 install flask" or “python -m pip install flask“. Wait for the installation to terminate successfully. The package is now installed on your macOS.
🌐
Medium
medium.com › @CHICHEEE › flask-fast-and-easy-quickstart-e4877431c0b5
Python Web development: Creating a Webapp using flask | by Nathan Chiche | Medium
December 27, 2022 - $ /bin/bash -c "$(curl -fsSL [<https://raw.githubusercontent.com/Homebrew/install/master/install.sh>](<https://raw.githubusercontent.com/Homebrew/install/master/install.sh>))" ... To start building the web app make sure you have completed everything above including activating a new virtual environment for your project file. Lets go ahead and create a folder in terminal and activate our virtual environment · $ mkdir flask_hello_world $ cd flask_hello_world $ virtualenv flask_hello_world $ source ~/flask_hello_world/env/bin/activate
🌐
Stack Overflow
stackoverflow.com › questions › 78829884 › cannot-install-flask-with-pip-on-macos
python - Cannot install Flask with pip on MacOS - Stack Overflow
abdullah@MacBook-Pro ~ % pip3 install flask error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try brew install xyz, where xyz is the package you are trying to install.
🌐
DEV Community
dev.to › sahilrajput › install-flask-and-create-your-first-web-application-2dba
How to Install Flask: Install Flask and create your first web application - DEV Community
May 24, 2020 - If you are on Mac OS X or Windows, download get-pip.py, then: $ sudo python2 Downloads/get-pip.py $ sudo python2 -m pip install virtualenv ... If you needed to install virtualenv because you are on an older version of Python, use the following ...
🌐
Visual Studio Code
code.visualstudio.com › docs › python › tutorial-flask
Flask Tutorial in Visual Studio Code
November 3, 2021 - (Linux) The built-in Python 3 installation works well, but to install other Python packages you must run sudo apt install python3-pip in the terminal. (macOS) An installation through Homebrew on macOS using brew install python3.
🌐
UltaHost
ultahost.com › knowledge-base › install-flask-python
How to Install Flask in Python | Ultahost Knowledge Base
November 8, 2024 - Yes, since Flask is a Python module, ... installing Flask. First, install the python3-venv package, then, use the virtualenv command to set up the environment and activate it to isolate your Flask project....
🌐
Python Beginners
python-adv-web-apps.readthedocs.io › en › latest › flask.html
Flask Intro — Python Beginners documentation - Read the Docs
In Mac OS or Windows, at the command prompt, with your virtual environment already activated, type: ... Uppercase F required. This is how you install any Python library that exists in the Python Package Index. Pretty handy. pip is a tool for installing Python packages, which is what you just did. ... You installed Flask in the Python3 virtual environment that is currently active.
🌐
O'Reilly
oreilly.com › library › view › flask-web-development › 9781491947586 › ch01.html
1. Installation - Flask Web Development [Book]
May 8, 2014 - In this chapter, you will learn how to install Flask. The only requirement you need is a computer with Python ...
Author   Miguel Grinberg
Published   2014
Pages   258