title: Import error in VSCode despite setting the PYTHONPATH
body: <p>I have an airflow environment locally deployed on WSL, and I am using VScode to debug and code.</p>
  <p>My app folder structure is as follows:</p>
  <pre><code>~/workspaces
  |--- .env
  |---organization/gcp/datalake
      |--- dags
          |--- //My dags
      |--- plugins
          |--- __init.py__
          |--- operators
              |--- __init.py__
              |--- facebook_operators.py
          |--- hooks
              |--- __init.py__
              |--- facebook_hooks.py
  </code></pre>
  <p>I am having trouble understanding the behavior of VSCode regarding the imports.</p>
  <p>I added the <code>dags</code> and <code>plugins</code> folders to the <code>PYTHONPATH</code> via <code>.env</code> file. My VSCode is opened directly on the <code>workspaces</code> directory.</p>
  <p>The problem :</p>
  <p>I get import errors, although I can successfully <code>go to definition</code> of the class I want to import.</p>
  <p>Example : In my <code>facebook_operators.py</code></p>
  <p><code>from hooks.facebook_hooks import FacebookAdsHook</code>
  raises the following error :</p>
  <blockquote>
  <p>No name 'facebook_hooks' in module 'hooks'</p>
  </blockquote>
  <p>The contents of my <code>.env</code> file:</p>
  <pre><code>PROJECTDIR=~/workspaces/organization/gcp/datalake
  PYTHONPATH=${PROJECTDIR}/plugins
  PYTHONPATH=${PROJECTDIR}/dags:${PYTHONPATH}
  </code></pre>
  <p>Where did I go wrong? I'd like to understand and solve this error please.</p>