After consulting the forums here + finding this post on stack overflow which discussed the error I was getting:
I was able to get Kicost running form withing the BOM dialog window:
The command, for your mark/copy/past pleassure:
python -E /usr/bin/kicost --overwrite -i ‘%I’ -o ‘%O.xlsx’
From the python man page regarding the -E option:
" -E Ignore environment variables like PYTHONPATH and PYTHONHOME that
modify the behavior of the interpreter."
Does someone know why this works and whether this can be a lasting solution? I am running arch linux and have KiCost installed via its aur package.
Secondly, I wanted to inquire if someone knows how to keep the BOM dialog window persistent? Currently, it seems necessary to copy/paste the command line into the BOM dialog after a restart of Kicad. Not only am I driven by utter laziness, this is one of the few flow breakers that put me on a tangent making me forget what I was trying to do (Simple mind and so forth).
Wanted to mention: KiCost is awesome and I find the manf and manf# keywords especially elegant.
Thank you for your time.