Closed Omnipresent closed 7 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/148020609
The labels on this github issue will be updated when the story is started.
Issue resolved over slack: https://cloudfoundry.slack.com/archives/C02HWMDUQ/p1498674712769270
Summary: The system Python 2.7 on linux is compiled for ucs-4. Old versions of the Python buildpack supply Python 2.7 compiled for ucs-2. The clue is the u
in numpy-1.13.0-cp27-cp27mu-manylinux1_x86_64.whl
.
Hi @sclevine,
I have exactly the same issue. Many dependencies in the vendor folder. It looks like not all of them are uploaded. Python version on sap cf is python 2.7.14. The installation fails with:
No matching distribution found for hdbcli==2.3.14 (from -r /tmp/contents253433951/deps/0/requirements.txt (line 3)) pip install has failed. You have a vendor directory, it must contain all of your dependencies.
Do you have any idea? Thank you so much
Raphael
@raphaelschmitz are you using the latest buildpack version (v1.6.14)?
@sclevine I have same problem as @raphaelschmitz .I am using build pack version 1.6.29
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
?What version of the buildpack you are using?
1.5.13
If you were attempting to accomplish a task, what was it you were attempting to do?
Attempting to push an application that has a
vendor
directory.What did you expect to happen?
Successful completion of the push
What was the actual behavior?
Could not find a version that satisfies the requirement numpy (from -r requirements.txt (line 3)) (from versions: )
Please confirm where necessary:
My python application has a
requirements.txt
file that containsnumpy
. I will be deploying this application to airgapped PCF environment so I download the dependencies in advance tovendor
folder in my application usingpip install --download vendor -r requirements.txt
. I run this pip command from within thecloudfoundry/cflinuxfs2
docker instance. Once the dependencies are downloaded I have various files invendor
folder and one of them is namednumpy-1.13.0-cp27-cp27mu-manylinux1_x86_64.whl
. However, when I try tocf push
my application, I get errorCould not find a version that satisfies the requirement numpy (from -r requirements.txt (line 3)) (from versions: )
. Numpy is critical to our application and I assume it is critical to others as well. Is there a resolution to this?