title: Why is the requests module not installed according to the google-auth library?
body: <p>I'm using the Google Calendar API to fetch some events and I'm using a venv to house all the packages required, and I've run into a simple problem: <code>google.auth.transport.requests</code> can't function correctly, citing the <code>requests</code> package is not installed.</p>
  <h2>Code and error:</h2>
  <hr />
  <p>The problem can be observed using a single line of code:</p>
  <pre><code>from google.auth.transport.requests import Request
  </code></pre>
  <p>The following error is dumped to the console from <a href="https://google-auth.readthedocs.io/en/latest/_modules/google/auth/transport/requests.html" rel="nofollow noreferrer"><code>google.auth.transport.requests</code></a> (at the bottom of two tracebacks):</p>
  <pre><code>File &quot;&lt;string&gt;&quot;, line 3, in raise_from
  ImportError: The requests library is not installed, please install the requests package to use the requests transport.
  </code></pre>
  <h2>Failed attempts</h2>
  <hr />
  <ol>
  <li>Deleting and remaking the venv.</li>
  <li>Install modules with --no-cache-dir and --ignore-installed.</li>
  </ol>
  <h2>Information</h2>
  <hr />
  <ol>
  <li>Executing <code>import requests</code> or <code>from google.auth.transport.requests import Request</code> from the console from <code>env\Scripts\python</code> works without problem.</li>
  <li>The same lines when put in a file <code>temp.py</code> when placed inside the following directories execute in the following manner:
  <ul>
  <li><code>AutoMate\</code>: Safe</li>
  <li><code>AutoMate\src\</code>: Safe</li>
  <li><code>AutoMate\src\sources\</code>: Error</li>
  <li><code>AutoMate\src\sources\temp\</code>: Safe (sources\temp only made for debugging)</li>
  <li><code>AutoMate\src\sources\util\</code>: Safe.</li>
  </ul>
  </li>
  </ol>
  <p>Note: All tests here and below have been ran from AutoMate\ using <code>env\Scripts\python</code> and <code>env\Scripts\pip</code>.</p>
  <ol start="3">
  <li><p>None of the google auth modules have been installed in the pip outside of the venv.</p>
  </li>
  <li><p>The project structure is as follows:</p>
  </li>
  </ol>
  <pre><code>AutoMate
  |   temp.py
  ├───env
  │   ├───Include
  │   ├───Lib
  │   └───Scripts
  └───src
      │   AutoMate.pyw
      │
      └───sources
          │   calendar.py --&gt; Problematic file
          │   whatsapp.py
          │   __init__.py
          │  
          └───util
  
  </code></pre>
  <ol start="5">
  <li>Output of <code>env\Scripts\pip list</code>:</li>
  </ol>
  <pre><code>Package                  Version
  ------------------------ ---------
  cachetools               4.2.1
  certifi                  2020.12.5
  chardet                  4.0.0
  google-api-core          1.26.1
  google-api-python-client 2.0.2
  google-auth              1.27.1
  google-auth-httplib2     0.1.0
  google-auth-oauthlib     0.4.3
  googleapis-common-protos 1.53.0
  httplib2                 0.19.0
  idna                     2.10
  oauthlib                 3.1.0
  packaging                20.9
  pip                      21.0.1
  protobuf                 3.15.5
  pyasn1                   0.4.8
  pyasn1-modules           0.2.8
  pyparsing                2.4.7
  pytz                     2021.1
  requests                 2.25.1
  requests-oauthlib        1.3.0
  rsa                      4.7.2
  selenium                 3.141.0
  setuptools               49.2.1
  six                      1.15.0
  uritemplate              3.0.1
  urllib3                  1.26.3
  </code></pre>