Macos – Unable to install beautifulsoup4 in python on Mac Os

beautifulsoupmacospython-3.x

I am trying to install beautifulsoup4 in my mac using the following command:

pip3 install beautifulsoup4

But I am getting this following error:

Could not find a version that satisfies the requirement beautifulsoup4 (from versions: )
No matching distribution found for beautifulsoup4

How can I solve this?

Best Answer

Update pip with pip3 install --upgrade pip. Now you should be able to install beautifulsoup pip3 install beautifulsoup4. If that fails try: python3 -m pip install beautifulsoup4