title: TypeError: '>=' not supported between instances of 'NoneType' and 'str'
body: <p>I have been able to install <code>pycrypto</code> as follows, followed the given <a href="https://stackoverflow.com/questions/41843266/microsoft-windows-python-3-6-pycrypto-installation-error/41843310#41843310">answer</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/KiLsB.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/KiLsB.jpg" alt="enter image description here"></a></p>
  
  <p>But when I debug the project, then getting the following issue which seems to be related <code>Crypto</code>.</p>
  
  <blockquote>
    <p>ModuleNotFoundError: No module named 'winrandom'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/q0T6o.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/q0T6o.jpg" alt="enter image description here"></a></p>
  
  <p><code>aut\token.py</code> line 3 is</p>
  
  <pre><code>from jose.jwt import get_unverified_claims
  </code></pre>
  
  <p><strong>UPDATE:1</strong></p>
  
  <p>Then, I have run <code>pip install winrandom</code> and get the following error.</p>
  
  <blockquote>
    <p>TypeError: '>=' not supported between instances of 'NoneType' and
    'str'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/n7QoZ.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/n7QoZ.jpg" alt="enter image description here"></a></p>
  
  <p><strong>UPDATE:2</strong></p>
  
  <p>When I rung the proposed command <code>pip install --proxy http://XXXX:80 git+https://github.com/dlitz/pycrypto.git</code> with proxy(required) in the working environment, then I get a connection refused error as follows.</p>
  
  <p><a href="https://i.stack.imgur.com/oLRkO.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/oLRkO.jpg" alt="enter image description here"></a></p>