I am currently trying to resolve the issue of outputting my Python code in my LaTex document via the minted package. Originally, I ran into the issue of the "shell-escape flag" Error which, after resolution, gave me the "catchfile" Error. I finally resolved this by eliminating the spaces in my document name, however now I am stuck with the "`Pygmatize'" Error and I am at a loss for what to do here.
I have looked all over the internet for what others have done in the past and have attempted to do the same as them, to no avail. I've installed pygments from the terminal after having to install pips – I can check the version in the terminal and it's saying I have version 2.4.2. I also installed minted and can find the folders using finder. I've created the /~Library/texmf/tex/latex tree and tried putting in the relevant minted.sty file in there so that LaTex can apparently find/read that. I've checked to see that I have minted installed via TeX Live Utility (it's installed).
I have no clue what to do after this. LaTex still won't compile my document and is still giving me the "`Pygmatize'" Error. I've spent way too long trying to find a solution here and just want this document to compile.
I would really appreciate any help with this.