title: I have installed requests but I still get ModuleNotFoundError: No module named 'requests' (Django)
body: <h2>This is what I get when I install 'requests'</h2>
  <p>If I do pip3 install requests (Requirement already satisfied),</p>
  <p>If I do pip install requests (Requirement already satisfied),</p>
  <p>python3.9 -mpip install requests (Requirement already satisfied),</p>
  <hr />
  <p>It seems like I have requests already installed but still I get &quot;ModuleNotFoundError: No module named 'requests'&quot;</p>
  <p>I'm having a file with this code in my django project</p>
  <pre><code>    import requests
  
  def client():
      credentials = {&quot;username&quot;: &quot;admin&quot;, &quot;password&quot;: &quot;123456789&quot;}
  
      response = requests.post(&quot;http://127.0.0.1:8000/api/rest-auth/login/&quot;,
                                data=credentials)
  
          
      print(&quot;Status Code:&quot; , response.status_code)
      response_data = response.json()
      print(response_data)
  
  
  if __name__ == &quot;__main__&quot;:
      client()
  </code></pre>