找不到满足要求numpy的版本

时间:2017-06-28 17:01:03

标签: python numpy pip cloudfoundry pivotal-cloud-foundry

我的reqirements.txtnumpy行。我运行以下命令来下载依赖项:

pip install --download vendor -r requirements.txt

这会将所有依赖项下载到vendor文件夹,其中一个文件名是:numpy-1.13.0-cp27-cp27mu-manylinux1_x86_64.whl

但当我cf push我的应用程序使用vendor文件夹中的下载依赖项时,我收到以下错误:

Could not find a version that satisfies the requirement numpy (from -r requirements.txt (line 3)) (from versions: )

有没有办法解决这个问题?我相信这是因为在供应商目录和requirements.txt文件中命名numpy文件的方式不同。

我的requirements.txt文件包含以下内容:

flask-restful
Flask
numpy
Pillow==2.7.0
argparse==1.2.1
requests==2.5.1
boto3
boto
six==1.10.0
scikit-image

错误仅在numpyscikit-image上发生。其他依赖关系也可以。

此问题与how to download pip dependencies locally?

有关

0 个答案:

没有答案