Fix Missing Distutils on MacOS

from blog Robb Knight • Posts • RSS Feed, | ↗ original
Sometimes I hate computers. This evening I lost two hours to a stupid issue that had me doing all sorts of command line nonsense trying to fix it. I tried to install xml2json with npm and was presented with a wall of errors culminating in the actual error of No module named 'distutils'. It's related to node-gyp and anyone who's been using MacOS...