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