> Is it shown in the ps output as '/usr/local/bin/tor'? If so then I'll
> adjust Stem to look for that too.

Yep. 'ps ax' output looks like:

PID TT  STAT        TIME COMMAND
83797  -  R     1152:14.26 /usr/local/bin/tor -f /usr/local/etc/tor/torrc --PidFile /var/run/tor/tor.pid --RunAsDaemon 1 --DataDirectory /var/db/tor


> 1. Comment out the putenv calls (add a '#' at the start of lines 91 and 96)

Yep, that's it. I commented out lines 90..98, both of the try/except blocks with os.putenv(). The error goes away and nyx seems to run fine.