Octoprint Deploy reinstallation issues

I successfully installed Octopi on my Raspberry Pi 5 using the deployment method found here:

I have since reformatted the SD card, and attempted to reinstall Octopi via the exact same method, but I'm now getting a whole host of errors including a warning that Octoprint has not been installed correctly.

I have tried deleting all traces of Octoprint from my computer but to no avail. Is there any way that I can completely wipe all traces and perform a fresh install?

This has been driving me crazy and any help would be truly appreciated.