If you installed python3 via brew, installing python libs globally is not allowed anymore:

pip3 install requests

Fails with the error: "This environment is externally managed"

brew install python-requests 

Fails with the error: "Error: python-requests has been disabled because it does not meet homebrew/core's requirements for Python library formulae! It was disabled on 2024-06-23"

Solution: Luckily the solution is stated in the first error message, you have to create a virtual environment instead of a globally installed lib with:

python3 -m venv path/to/venv
source path/to/venv/bin/activate
python3 -m pip install requests
Answer from Simon Meyer on Stack Overflow
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-requests-in-python-for-windows-linux-mac
How to Install Requests in Python - For Windows, Linux, Mac - GeeksforGeeks
July 12, 2025 - Go to the Downloads section and click on “Download Python 3.x.x” (the latest version). ... Locate the downloaded installer file or use Linux distribution's package manager. ... For installing requests in MacOS, you need to Install Python ...
Discussions

Problem with installing requests on mac os
use sudo pip3 install requests The default pip is for the system python which is 2.7 which you can see in the "Requirements already satisfied" message More on reddit.com
🌐 r/learnpython
6
5
March 12, 2018
I tried to install pip3 requests using "brew install python-requests" it showed and error. Help!
Don't install Python libraries with the OS package manager. Use the Python manager, pip. pip install requests More on reddit.com
🌐 r/learnpython
4
0
September 4, 2024
macos - Python Requests on OSX - Stack Overflow
Ive used pip to install requests but when i run my scrpit i get an import error. I have also tried installing from github but still same issue. Here is output Successfully uninstalled requests-2... More on stackoverflow.com
🌐 stackoverflow.com
August 24, 2017
'No module named requests' OSX
What file in the script is throwing the requests error? Only a small handful actually use the requests library just curious. Also you could post your info.log from the script directory where the error is occurring it may help as well. More on reddit.com
🌐 r/learnpython
10
1
April 22, 2015
🌐
YouTube
youtube.com › watch
How to Install REQUESTS in Python on Mac OS (Beginner-Friendly) | Python 3.12 (Latest) - YouTube
Learn how to install REQUESTS library in Python 3.12 on Mac (MacOS, Macbook, Mac M1, Mac M2, Apple, Pro, Air). Python 3.12 is latest version currently.Strugg...
Published: April 24, 2024
🌐
YouTube
youtube.com › watch
How to install requests module in Python in 2025 on MacOS #requests - YouTube
In this video of Joey'sTECH, you will learn how to install the requests module in Python (latest version available 3.13) on MacOS. This tutorial video will a...
Published: July 5, 2025
🌐
YouTube
youtube.com › watch
How to install requests for python 3 on mac. - YouTube
in this video i show you how to install requests for python 3 on mac.terminal commands: to install pip: sudo easy_install pipto install requests: pip3 ...
Published: April 28, 2020
🌐
GitHub
github.com › orgs › Homebrew › discussions › 5358
Getting Started · Homebrew · Discussion #5358
❯ pip3 uninstall requests 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.
Find elsewhere
🌐
YouTube
youtube.com › watch
how to install requests python mac - YouTube
Instantly Download or Run the code at https://codegive.com sure, i'd be happy to guide you through the process of installing the requests library in python ...
Published: February 19, 2024
🌐
Reddit
reddit.com › r/learnpython › problem with installing requests on mac os
r/learnpython on Reddit: Problem with installing requests on mac os
March 12, 2018 -

i have python 3.6.4.

I installed pip, and entered in terminial: "sudo pip install requests", and it tells me it's installed. But when I type "import requests" in python, it tells me "moduleNotFoundError: no module named'requests".

So I go back to terminal and try to install requests again, and it tells me "Requirement already satisfied: certifi>=2017.4.17 in /Library/Python/2.7/site-packages (from requests)" so it looks like requests has already been installed. But what's the reason i cant import requests in python? Is it because the version is too old?

update Looks like it's because I installed 2.7pip, which I shouldn't have, I would like to uninstall that 2.7pip but not sure how.

I would very much appreciate some help. Thanks!!

🌐
Acronis
developer.acronis.com › doc › notary › v2 › guide › getting-started › setting-python-env.html
Setting up the Python environment - Notary API
June 13, 2023 - Install pip (a tool for installing and managing Python packages locally). Install the requests package that is required for sending requests to the API:
🌐
GeeksforGeeks
geeksforgeeks.org › installation-guide › how-to-install-requests-in-python-for-windows-linux-mac
How to Install Requests in Python – For Windows, Linux, Mac | GeeksforGeeks
December 9, 2024 - Go to the Downloads section and click on “Download Python 3.x.x” (the latest version). ... Locate the downloaded installer file or use Linux distribution's package manager. ... For installing requests in MacOS, you need to Install Python ...
🌐
Quora
quora.com › How-can-I-install-Requests-library-for-Python-in-simple-steps
How to install Requests library for Python in simple steps - Quora
Answer (1 of 4): Open your command promt in windows or terminal in mac or linux and write- pip install requests If you are using pycharm IDE then open its default terminal and write same line. Congratulation you install it.
🌐
MacPorts
ports.macports.org › port › py-requests
Install py-requests on macOS with MacPorts
Most existing Python modules for dealing HTTP requests are insane. I have to look up everything that I want to do. Most of my worst Python experiences are a result of the various built-in HTTP libraries (yes, even worse than Logging). But this one's different.
🌐
YouTube
youtube.com › watch
How to Install REQUESTS Library in Pycharm (Windows & Mac) [2024] - YouTube
Video explains, how to install REQUESTS in Pycharm IDE, valid for Windows and Mac OS (Macbook, Mac M1, Mac M2, Mac Pro, Air, Apple).In this video, I have exp...
Published: May 31, 2024
🌐
YouTube
youtube.com › watch
How to install requests library in Python | pip install requests - YouTube
Learn how to install requests module in python.You will learn to pip install requests in this video by creating a python project then creating a virtual envi...
Published: August 26, 2022
Views: 5K
🌐
Mimo
mimo.org › tutorials › python › how-to-install-requests-in-python
How to Install Requests in Python
After creating and activating a virtual environment, install Requests there: ... The path should point inside your virtual environment folder (often .venv). ... This confirms that both commands refer to the same interpreter. ... python -m pip install requests python -c "import requests; ...
🌐
Python-requests
docs.python-requests.org › en › latest › user › install
Installation of Requests — Requests 2.34.2 documentation
To install Requests, simply run this simple command in your terminal of choice: ... Requests is actively developed on GitHub, where the code is always available. ... $ curl -OL https://github.com/psf/requests/tarball/main # optionally, zipball is also available (for Windows users).