title: Secret Key - Setting environment variable PowerShell (Windows)
body: <p>I have been attempting to clone a github repository:
  <a href="https://github.com/shreyashankar/gpt3-sandbox" rel="nofollow noreferrer">https://github.com/shreyashankar/gpt3-sandbox</a></p>
  <ul>
  <li>Step 4 involves creating a .cfg file to add in a secret key which was simple enough.</li>
  <li>Step 5 involves setting an environment variable to read that secret key by pointing to the config file.</li>
  </ul>
  <p>Note that this takes place using a <strong>virtual environment</strong>.</p>
  <p>The instructions say to:
  <code>set OPENAI_CONFIG=/path/to/config/openai.cfg</code> (for Windows users)</p>
  <p>Despite trying this approach it doesn't seem to update OPENAI_CONFIG. I believe you can test this using <code>echo %OPENAI_CONFIG%</code></p>
  <p>I also tried one suggested approach for virtual environments to add $env:Path += like this:
  <code>(GPTJay) (base) PS C:\Users\User\gpt3-sandbox\examples&gt; $env:Path += 'C:\Users\User\gpt3-sandbox\api';</code></p>
  <p>Any help would be much appreciated! Also I am using Anaconda Powershell Prompt, not sure if that makes any difference from 'vanilla' Powershell?</p>