Should I switch from my MAC to a PC to program photons

Installing the command line tools will hopefully solve this error.

Can you try installing neopo again?

Since neopo contains an encapsulated Particle CLI instance you may be able to solve the issue in your other thread: Upgraded mac iOS to 10.15.5 lost serial ports - #11 by harley