在macOS上安装pip不起作用(不再) [英] Installing pip on macOS does not work (anymore)
本文介绍了在macOS上安装pip不起作用(不再)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遵循了有关如何在macOS上安装pip
的在线说明(例如此,此,以及此).
I followed online instructions on how to install pip
on macOS (for example this, this, and this).
我似乎都很简单,但这对我不起作用.
I all seems to simple, but it's not working for me.
我的python --version
是2.7.10.
当我运行sudo easy_install pip
时,我得到:
$ 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?
推荐答案
您可能改用pip3.用它来升级点子.
You might have pip3 instead. Use it to upgrade pip.
pip3 install --upgrade pip
这篇关于在macOS上安装pip不起作用(不再)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文