Pillow==2.7.0
我下载这样的离线模式的要求就行了requirements.txt文件版本,并把它放在供应商导演
pip install --download vendor -r requirements.txt
此文件Pillow-2.7.0-cp27-none-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel
下载到我的vendor
目录
但是,当我尝试部署(推送)我的应用程序,我得到下面的错误:
Collecting Pillow==2.7.0 (from -r requirements.txt (line 4))
Could not find a version that satisfies the requirement Pillow==2.7.0 (from -r requirements.txt (line 4)) (from versions:)
No matching distribution found for Pillow==2.7.0 (from -r requirements.txt (line 4))
我使用Python Buildpack部署应用程序到Cloud Foundry本文档以下http://docs.cloudfoundry.org/buildpacks/python/index.html#vendoring
它似乎是下载英特尔MacOS 10.9版本的软件包,这不太可能与您运行CloudFoundry的系统相同。 –
@DanielRoseman刚才看到您的评论,同样的事情感到惊讶。似乎是一种奇怪的部署方法。 – Ray
我会打起来的Cloud Foundry支持/帮助下,这不可能是他们已经看到了这样的事与他们正在采取 – Ray