On my x86 Mac, I was able to solve the problem I encountered and
was therefore was able to run pyoxidizer more than once, after taking
the following steps:
1. Delete rust and the .cargo folder
2. Delete the pyoxidizer folder from ${USER}/Libraries/Caches
3. Delete my install of Python, then reinstall (currently Python 3.10.5)
4. Delete any files in /Downloads from the pyoxidizer project
5. Reinstall pyoxidizer using python3 -m pip install pyoxidizer
I have not tried to reproduce the conditions that caused the error. I'd be happy to try if that would be helpful.
I
have not taken these steps on my arm64 Mac so the error persists there.
I could also provide more information about the files installed there.