title: Sudo Error: initializing audit plugin sudoers_audit? (MacOS Postgres troubleshooting problems
body: <p>I'm going through the Heroku &quot;Getting Started with Python&quot; flow. It's my first time doing so, and stuck on following <a href="https://devcenter.heroku.com/articles/getting-started-with-python#declare-app-dependencies" rel="noreferrer">this set of instructions</a>.</p>
  <p>When I enter</p>
  <pre><code>$ pip install -r requirements.txt
  </code></pre>
  <p>I get the error:</p>
  <pre><code>-bash: pip: command not found
  </code></pre>
  <p>What I'm trying to do is install postgresql because the site says</p>
  <blockquote>
  <p>&quot;Postgres must be properly installed in order for this step to work
  properly.&quot;</p>
  </blockquote>
  <p>The error with Postgres is that whenever i try to do anything, for example:</p>
  <pre><code>$ psql
  </code></pre>
  <p>or</p>
  <pre><code>$ psql -h localhost
  </code></pre>
  <p>it returns this error:</p>
  <pre><code>psql: error: FATAL:  role &quot;myname&quot; does not exist
  </code></pre>
  <p>when I try to do</p>
  <pre><code>$ sudo -u postgres createuser myname
  </code></pre>
  <p>i receive the error</p>
  <pre><code>sudo: unknown user: postgres
  sudo: error initializing audit plugin sudoers_audit
  </code></pre>
  <p>...</p>
  <p>to even get to <em>this</em> point, I had to manually update my private/etc/host file to put generic MacOS localhost information back into that document (since work stuff had me messing with things years ago, rip)... so I assume this issue is similar, but I am stumped since apparently even sudo commands are not allowing me to create a user role in order to continue the Postgres install / setup. I have reinstalled and deleted the postgreSQL apps and data, restarted my computer, cleared the DNS cache, but these haven't helped me become unblocked. Any ideas or help would be appreciated, thank you.</p>
  <p>For context, I'm on MacOS Big Sur 11.4</p>