title: pip install makes ValueError: invalid literal
body: <p>While I was trying to install pytorch or something else with pip (ex: <code>pip install -U pip</code>), pip started to create following error:</p>
  
  <pre><code>ERROR: Exception:
  Traceback (most recent call last):
  
  ...
  
    File "c:\users\xahha\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\requests\utils.py", line 60, in proxy_bypass_registry
      proxyEnable = int(winreg.QueryValueEx(internetSettings,
  ValueError: invalid literal for int() with base 10: b'\x00\x00\x00\x00'
  </code></pre>
  
  <p>I ran the command with <code>cmd</code> but it also occurs when I try to install pytorch via conda. I think it's kind of registry problem as I can see <code>winreg</code> at error message. But I don't have any idea what should I do.</p>
  
  <p>I'm currently using Windows 10, and haven't touched any registry setting.</p>
  
  <p>I checked the source code of that file(python38\lib\site-packages\pip_vendor\requests\utils.py)</p>
  
  <p>I found this comment in line 60:
  <code># ProxyEnable could be REG_SZ or REG_DWORD, normalizing it</code></p>
  
  <p>but when I checked my registry, it was REG_BINARY with the value '00 00 00 00'.</p>