I have gotten this error. I think I resolved it by upgrading pip. Try:

pip install pip==21.0.1

Answer from Luke on Stack Overflow
🌐
PyPI
pypi.org › project › Flask-SQLAlchemy
Flask-SQLAlchemy · PyPI
It aims to simplify using SQLAlchemy with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks. Install and update using pip: $ pip install -U Flask-SQLAlchemy ·
      » pip install Flask-SQLAlchemy
    
Published   Sep 11, 2023
Version   3.1.1
🌐
GeeksforGeeks
geeksforgeeks.org › python › install-flask-sqlalchemy-with-pip
Install Flask-Sqlalchemy with Pip - GeeksforGeeks
July 23, 2025 - In this article, we will look at how to install the Flask-Sqlalchemy package using the pip package manager for Python.
Discussions

How Do I Install Flask-SQLAlchemy?
Is your app using the same Python virtual environment that you installed SQLAlchemy in? More on reddit.com
🌐 r/flask
6
0
August 5, 2021
python - Unable to Install Flask-SQLAlchemy - Stack Overflow
Tried running the following command on the directory where I activated my virtual environment : pip install Flask-SQLAlchemy The error message received is : "ERROR: Could not find a version... More on stackoverflow.com
🌐 stackoverflow.com
python - How do you install flask-sqlalchemy in a virtual environment while working with Cygwin? - Stack Overflow
The problem has been solved. I deleted Cygwin from C: and instead installed it on another drive. After hitting the command "pip3 install flask flask-sqlalchemy", Boom! All of the packages were just installed and built. I'm suspecting about there was an issue related to system permissions. More on stackoverflow.com
🌐 stackoverflow.com
Step07 | flask-sqlalchemy isn't installed with `pip install flask` anymore?
From a fresh copy and environment of this repo: (venv) jgoin@Tsume ~/repos/build-a-flask-api/step07 (master) $ python puppy.py createdb Traceback (most recent call last): File "puppy.py", line 3, i... More on github.com
🌐 github.com
5
February 1, 2018
🌐
Flask-SQLAlchemy
flask-sqlalchemy.readthedocs.io › en › stable › quickstart
Quick Start — Flask-SQLAlchemy Documentation (3.1.x)
Flask-SQLAlchemy is available on PyPI and can be installed with various Python tools. For example, to install or update the latest version using pip:
🌐
Reddit
reddit.com › r/flask › how do i install flask-sqlalchemy?
r/flask on Reddit: How Do I Install Flask-SQLAlchemy?
August 5, 2021 -

I'm trying to create a web app with a flask_sqlalchemy database. I've typed in pip install Flask-SQLAlchemy into the terminal, and got the following output https://imgur.com/a/br1XLVm. However, once I tried to run my app, I got this output: https://imgur.com/a/c9l688Z. If it's relevant, I'm coding on a Mac using VScode as my IDE.

Thanks in advance.

🌐
O'Reilly
oreilly.com › library › view › mastering-geospatial-analysis › 9781788293334 › 16958d12-98d7-4f68-b3e3-63ba7a76ccda.xhtml
Installing Flask-SQLAlchemy via pip - Mastering Geospatial Analysis with Python [Book]
April 27, 2018 - Installing Flask-SQLAlchemy via pip Use the command pip install flask-sqlalchemy to install the flask-sqlalchemy wheel and its required dependencies:... - Selection from Mastering Geospatial Analysis with Python [Book]
Authors   Silas TomsPaul Crickard
Published   2018
Pages   440
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 70892265 › how-do-you-install-flask-sqlalchemy-in-a-virtual-environment-while-working-with
python - How do you install flask-sqlalchemy in a virtual environment while working with Cygwin? - Stack Overflow
I deleted Cygwin from C: and instead installed it on another drive. After hitting the command "pip3 install flask flask-sqlalchemy", Boom! All of the packages were just installed and built.
🌐
OneUptime
oneuptime.com › home › blog › how to use flask with sqlalchemy
How to Use Flask with SQLAlchemy
January 26, 2026 - # Install Flask-SQLAlchemy pip install flask-sqlalchemy # Install database drivers based on your choice pip install psycopg2-binary # PostgreSQL pip install pymysql # MySQL pip install mysqlclient # MySQL (alternative) # SQLite is included with ...
🌐
PyPI
pypi.org › project › Flask-SQLAlchemy-Lite
Flask-SQLAlchemy-Lite · PyPI
pip install Flask-SQLAlchemy-Lite Copy PIP instructions · Latest version · Released: Nov 20, 2025 · Integrate SQLAlchemy with Flask. These details have been verified by PyPI · Source · Pallets Community Ecosystem · Repository · Stars: ...
      » pip install Flask-SQLAlchemy-Lite
    
Published   Nov 20, 2025
Version   0.2.1
🌐
PyPI
pypi.org › project › flask-sqlalchemy-unchained
flask-sqlalchemy-unchained · PyPI
pip install flask-sqlalchemy-unchained Copy PIP instructions · Latest version · Released: Feb 7, 2024 · Integrates SQLAlchemy Unchained with Flask · These details have been verified by PyPI · briancappello · These details have not been ...
      » pip install flask-sqlalchemy-unchained
    
Published   Feb 07, 2024
Version   0.8.0
🌐
openSUSE
software.opensuse.org › download › package
python3-Flask-SQLAlchemy from devel:languages:python ...
Welcome to the OBS download page. This page offers a simple way to show your users the latest builds of your packages and appliances by either embedding its output as an iframe in your project homepage, or by creating a download page for you · Just create a link to:
🌐
PyPI
pypi.org › project › SQLAlchemy
SQLAlchemy · PyPI
SQLAlchemy encourages applications to create a consistent means of delineating the start and end of a series of operations. Never render a literal value in a SQL statement. Bound parameters are used to the greatest degree possible, allowing query optimizers to cache query plans effectively and making SQL injection attacks a non-issue. ... Full documentation for installation is at Installation.
      » pip install SQLAlchemy
    
Published   May 24, 2026
Version   2.0.50
🌐
Libraries.io
libraries.io › pypi › Flask-SQLAlchemy
Flask-SQLAlchemy 3.1.1 on PyPI - Libraries.io - security & maintenance data for open source software
flask, flask-sqlalchemy, python, sqlalchemy · License · BSD-3-Clause · Install · pip install Flask-SQLAlchemy==3.1.1 · Flask-SQLAlchemy is an extension for Flask that adds support for SQLAlchemy to your application.
🌐
GitHub
github.com › singingwolfboy › build-a-flask-api › issues › 5
Step07 | flask-sqlalchemy isn't installed with `pip install flask` anymore? · Issue #5 · singingwolfboy/build-a-flask-api
February 1, 2018 - (venv) jgoin@Tsume ~/repos/bui... (master) $ cd .. (venv) jgoin@Tsume ~/repos/build-a-flask-api (master) $ pip install Flask-SQLAlchemy Collecting Flask-SQLAlchemy Downloading Flask_SQLAlchemy-2.3.2-py2.py3-non...
Author   singingwolfboy
🌐
AppSignal
blog.appsignal.com › 2025 › 02 › 26 › an-introduction-to-flask-sqlalchemy-in-python.html
An Introduction to Flask-SQLAlchemy in Python | AppSignal Blog
February 26, 2025 - Python 3.6+ and pip: Flask-SQLAlchemy requires Python 3.6 or higher. We’ll also install everything we need with pip.
🌐
PyPI
pypi.org › project › fastapi
fastapi · PyPI
When you install FastAPI with pip install "fastapi[standard]" it comes with the standard group of optional dependencies:
      » pip install fastapi
    
Published   Jun 15, 2026
Version   0.137.1
🌐
FastAPI
fastapi.tiangolo.com
FastAPI - FastAPI
If you want to install FastAPI with the standard dependencies but without the fastapi-cloud-cli, you can install with pip install "fastapi[standard-no-fastapi-cloud-cli]".
🌐
Flask-SQLAlchemy
flask-sqlalchemy.readthedocs.io › en › stable › config
Configuration — Flask-SQLAlchemy Documentation (3.1.x)
See SQLAlchemy’s documentation on Engine Configuration for a complete description of syntax, dialects, and options. A basic database connection URL uses the following format. Username, password, host, and port are optional depending on the database type and configuration. ... # SQLite, relative to Flask instance path sqlite:///project.db # PostgreSQL postgresql://scott:tiger@localhost/project # MySQL / MariaDB mysql://scott:tiger@localhost/project
🌐
Medium
medium.techkoalainsights.com › sqlalchemy-with-python-flask-089ba97c4612
SQLAlchemy With Python Flask. Integrating Flask with SQLAlchemy is a… | by Nithin Bharadwaj | TechKoala Insights
December 2, 2023 - First, you’ll need to install Flask-SQLAlchemy, a Flask extension that adds support for SQLAlchemy: pip install Flask SQLAlchemy Flask-SQLAlchemy ·