我需要对 pip 提出什么“要求”?

Mel*_*lab 7 python

我正在尝试在 Windows 7 机器上安装PyECC。Pip 非常不稳定,所以我不确定这次它想要什么。首先我跑pip install PyECC

Collecting PyECC
  Could not find any downloads that satisfy the requirement PyECC
  Some externally hosted files were ignored as access to them may be unreliable
(use --allow-external PyECC to allow).
  No distributions at all found for PyECC
Run Code Online (Sandbox Code Playgroud)

所以我跑pip install --allow-external PyECC

You must give at least one requirement to install (see "pip help install")
Run Code Online (Sandbox Code Playgroud)

什么要求?help 命令根本没有帮助,Pypi 页面也没有给出 pip 指令。

use*_*067 7

使用pip install --allow-external PyECC,您允许 pip 在需要时从外部存储库下载 PyECC,但您没有告诉它要安装什么。

您需要使用pip install --allow-external PyECC PyECC告诉它安装 PyECC,同时允许它从外部源下载 PyECC。


Dra*_*sil 1

对于版本 pip 7.1.2:

我发现的可能是命令实际上是--allow-all-external

--allow-external,虽然按其所说使用,但似乎并不存在。

希望这可以帮助。