title: Brownie / Rinkeby: Unable to expand environment variable in host setting
body: <p>I was following the tutorial from <a href="https://www.youtube.com/watch?v=M576WGiDBdQ&amp;t=16103s" rel="nofollow noreferrer">this video</a> and now I'm stuck during <strong>deploying a contract to rinkeby testnet</strong>.</p>
  <p>If I run <code>brownie run scripts/deploy.py --network rinkeby</code> I get an error:</p>
  <pre class="lang-sh prettyprint-override"><code>BrownieProject is an active project.
    File &quot;brownie/_cli/__main__.py&quot;, line 64, in main
      importlib.import_module(f&quot;brownie._cli.{cmd}&quot;).main()
    File &quot;brownie/_cli/run.py&quot;, line 44, in main
      network.connect(CONFIG.argv[&quot;network&quot;])
    File &quot;brownie/network/main.py&quot;, line 40, in connect
      web3.connect(host, active.get(&quot;timeout&quot;, 30))
    File &quot;brownie/network/web3.py&quot;, line 52, in connect
      uri = _expand_environment_vars(uri)
    File &quot;brownie/network/web3.py&quot;, line 183, in _expand_environment_vars
      raise ValueError(f&quot;Unable to expand environment variable in host setting: '{uri}'&quot;)
  ValueError: Unable to expand environment variable in host setting: 'https://rinkeby.infura.io/v3/$WEB3_INFURA_PROJECT_ID'
  </code></pre>
  <p>I checked the <code>brownie-config.yaml</code> file and .env for typing errors but haven't found anything.</p>
  <p>brownie-config.yaml</p>
  <pre class="lang-yaml prettyprint-override"><code>dotenv: .env
  wallets:
    from_key: ${PRIVATE_KEY}
  </code></pre>
  <p>I already created an infura api and add it in the .env file as <code>export WEB3_INFURA_PROJECT_ID=abc12345656789</code>.</p>
  <p>If I run the command <code>brownie run scripts/deploy.py</code> everything works fine so I can exclude any typo. Does someone have an idea what's the problem?</p>
  <p>I use Brownie v1.17.2</p>