Deployment failed due to pip

Very weird, I have not changed any setting but Deployment failed due to Could not install packages due to an OSError Yesterday it deployed the sam app with the same requirements.txt just fine. Can anybody help to understand what the problem is?

023-03-07 23:34:50] │ -----> Requirements file has been changed, clearing cached dependencies
[2023-03-07 23:34:51] │ -----> Installing python-3.10.6
[2023-03-07 23:34:53] │ -----> Installing pip 22.2.2, setuptools 63.4.3 and wheel 0.37.1
[2023-03-07 23:34:59] │ -----> Installing SQLite3
[2023-03-07 23:35:06] │ -----> Installing requirements with pip
[2023-03-07 23:35:06] │        Processing /opt/concourse/worker/volumes/live/6ca6f098-d773-4461-5c91-a24a17435bda/volume/appnope_1606859448531/work
[2023-03-07 23:35:06] │        ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/opt/concourse/worker/volumes/live/6ca6f098-d773-4461-5c91-a24a17435bda/volume/appnope_1606859448531/work'
[2023-03-07 23:35:06] │        
[2023-03-07 23:35:06] │ ERROR: failed to build: exit status 1

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
March 8, 2023

Hey @sippybee,

Check your requirements.txt file, have you made any changes to it? This most likely means you’ve hardcoded the path in your file. See if that’s the case or not.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up