title: Python import requests results in Traceback - "Partially initialized module 'requests' has no attribute 'post'"
body: <p>I am trying to fire http posts via python. The <code>requests</code> module is installed via <code>pip3 install requests</code> - it also says now "Requirement satisfied", so it is installed.</p>
  
  <p>I am using Python version <code>3.8.0</code>. </p>
  
  <p><strong>The Code:</strong></p>
  
  <pre><code>import requests as r
  headers = {'Accept' : 'application/json', 'Content-Type' : 'application/json'}
  url = 'http://localhost:8083/push/message'
  jsons = {"test"}
  r.post(url, json=jsons, headers=headers)
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>Traceback (most recent call last):
    File "http.py", line 1, in &lt;module&gt;
      import requests as r
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\__init__.py", line 43, in &lt;module&gt;
      import urllib3
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\__init__.py", line 7, in &lt;module&gt;
      from .connectionpool import HTTPConnectionPool, HTTPSConnectionPool, connection_from_url
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 11, in &lt;module&gt;
      from .exceptions import (
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\exceptions.py", line 2, in &lt;module&gt;
      from .packages.six.moves.http_client import IncompleteRead as httplib_IncompleteRead
    File "&lt;frozen importlib._bootstrap&gt;", line 991, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 975, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 655, in _load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 618, in _load_backward_compatible
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 199, in load_module
      mod = mod._resolve()
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 113, in _resolve
      return _import_module(self.mod)
    File "C:\User\name\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 82, in _import_module
      __import__(name)
    File "C:\scripts\http.py", line 5, in &lt;module&gt;
      r.post(url, json=jsons, headers=headers)
  AttributeError: partially initialized module 'requests' has no attribute 'post' (most likely due to a circular import)
  </code></pre>
  
  <p>When I close the commandline and start a new one and then go into <code>python</code> I can import it:</p>
  
  <pre><code>C:\Windows\system32&gt;python
  Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import requests
  &gt;&gt;&gt; requests.post
  &lt;function post at 0x000001A4F7B9D310&gt;
  &gt;&gt;&gt;
  </code></pre>
  
  <p>Same thing happens (only sometimes) when I execute the script - sometimes it actually works. (Btw, when it works it also posts to the server like it is supposed to)</p>
  
  <p>Did anyone face a similar problem and might come up with a solution? Python 3 is the only Python-Version i have installed on this machine btw - yet facing a similar problem on other machines!</p>