Docker cache issue with python

I am using the paketo build image. The first time I deployed it worked great building a new cache but when I try again it says

Paketo Buildpack for Pip 0.14.2
  Resolving Pip version
    Candidate version sources (in priority order):
      <unknown> -> ""

    Selected Pip version (using <unknown>): 22.2.2

  Executing build process
    Installing Pip 22.2.2
failed to configure pip:

error: exec: "python": executable file not found in $PATH

If I use the --no-cache argument it errors again

Error failed to fetch an image or build from source: executing lifecycle: clearing build cache: Error response from daemon: remove pack-cache-bloodcases_cache-2b00e41b6c69.build: volume is in use - [7f2e0bf21da389a040787f0d3d387628232ceb5813263f41345a1593908b35eb]

Running fly launch --no-cache fixed it for me.