I work with cyber security and I've been trying to implement some code from git that's supposed to automate many of the processes that help our machines be compliant with security standards. But upon attempting to run the code, I just keep receiving errors. These 2 specifically:
SyntaxWarning: invalid escape sequence '|'
FileNotFoundError: [Errno 2] No such file or directory: '/private/var/root/includes/mscp-data.yaml'
So I did some research and found that the first error just needs something other than the I, so I changed it and that error went away but then I still had that other one. I did some research on yaml and I couldn't figure out how to install it, everything I tried failed. Then I found something that said I needed pip, so I installed pip via homebrew. I'm using macOS Sonoma.
There are so many files in git related to the one I'm using but I believe I only need to run a few to get the baseline image ready. Although I'm not entirely sure. I'm just a confused and need help on how to implement this code.
Any help is greatly appreciated. If you need the full code, let me know and I'll post it.