pip拒绝安装任何内容

时间:2018-05-22 14:51:22

标签: python pip

所以我正在尝试安装twillio,但是当我尝试安装它时会抛出此错误:

MY_DEVICE_NAME:~ MY_NAME$ pip install twillio
Collecting twillio
  Could not find a version that satisfies the requirement twillio (from versions: )
No matching distribution found for twillio
You are using pip version 10.0.0b2, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
MY_DEVICE_NAME:~ MY_NAME$ pip install --upgrade pip
Collecting pip
  Using cached   https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
Installing collected packages: pip
  Found existing installation: pip 10.0.0b2
Uninstalling pip-10.0.0b2:

You are using pip version 10.0.0b2, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

之后我才陷入无限循环。那我该怎么办?

2 个答案:

答案 0 :(得分:3)

你犯了一个小错误

pip install twilio

您正在尝试pip install twillio

答案 1 :(得分:1)

使用以下内容: -

pip install --upgrade pip

python -m pip install --upgrade pip