Installing pip on macOS does not work (anymore)
I all seems to simple, but it's not working for me.
python --version is 2.7.10.
When I run
sudo easy_install pip I get:
$ sudo easy_install pip Password: Searching for pip Reading http://pypi.python.org/simple/pip/ Couldn't find index page for 'pip' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for pip error: Could not find suitable distribution for Requirement.parse('pip')
Any idea how I can fix or work around this?
You might have pip3 instead. Use it to upgrade pip.
pip3 install --upgrade pip
How do I install pip on macOS or OS X?, After that, pip will be installed and you'll be able to use it for installing other packages. Let me know if you have any problems installing pip this QuickTip: How Do I Install pip on macOS or OS X? Ahmad Awais. Even if you are not into Python there comes a time when you end up with the need of having to install pip on your macOS or OSX based computer. Searching online would lead you to long tutorials which are not really what you need. All you have to do is run the following command.
Use brew for Macs
"brew install python"
this will come with pip and both python2 and python3
instructions to bypass 2 python versions (if you want) are at https://pip.readthedocs.io/en/stable/installing/
otherwise, it'll just be "python3 <'program'>"
Here's how to install brew: https://www.howtogeek.com/211541/homebrew-for-os-x-easily-installs-desktop-apps-and-terminal-utilities/
QuickTip: How Do I Install pip on macOS or OS X?, After that pip will be installed and you'll be able to use it for installing other packages. Let me know if you have any problems installing pip this Try reinstalling python and select "Custom installation" under that just select "Install pip package". – Simeon Aleksov Feb 1 '17 at 22:58
easy_install has been deprecated. Use below commands instead.
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Pip --version not working on my macos mojave anymore, how to fix it , I ran the command pip install --upgrade pip. Pip --version not working on my macos mojave anymore, how to fix it? DistributionNotFound: The 'pip==19.1.1' distribution was not found and is required by the application. Apple’s Mac OS comes with python 2.7 installed by default. Perhaps you may want to use python 3.x.x on your machine and also use pip for package management with python 3.x.x. The easiest way to achieve this is by: NOTE: This tutorial does not use Virtual Environments like virtualenv or pyenv to manage various python versions. 1. Installing
Installing pip on macOS does not work (anymore), Installing pip on macOS does not work (anymore). kaka 2019-10-27. I followed online instructions on how to install pip on macOS (for example this, this, and this) Inevitably, conda will not have things that you want to install. In that case, fall back on pip, but be sure to go into a conda environment before running pip, so that you install into the same place you have put all of your Python packages installed from Conda.
Installation, pip is already installed if you are using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from Then run the following command in the folder where you have downloaded get-pip.py : get-pip.py also installs setuptools 2 and wheel if they are not already. setuptools is pip works on Unix/Linux, macOS, and Windows. Pip by default comes with Python but is not installed but installing pip is very easy, see How do I install pip on macOS or OS X?, all you have to do is run sudo easy_install pip which will install pip (This assumes that you already have python installed on your system, if you don't install it before running this command).
The best way to install Python, The easiest way to safely install python on a MAC is homebrew. It's not needed strictly, but my experience is that it may fix issues, especially on mac OS X pip install changed their link structure and the link above doesn't work anymore. I had similar issue when trying to install package via pip with python 3.6 on windows. (pip is supposed to work out of the box with this install) The problem was not running as administrator. Running cmd as administrator and then installing my package worked: python -m pip install pylint