I managed to install pycrypto as follows following the answer given.

But when I debug the project, I get the following problem, which seems to be related to Crypto .
ModuleNotFoundError: no module named 'winrandom'

aut\token.py line 3 -
from jose.jwt import get_unverified_claims
UPDATE: 1
Then I ran pip install winrandom and got the following error.
TypeError: '> =' is not supported between instances of 'NoneType' and 'str'

UPDATE: 2
When I run the proposed pip install --proxy http://XXXX:80 git+https://github.com/dlitz/pycrypto.git with a proxy (required) in the production environment, I get a connection failure error message as follows .

source share