I've tried to install pysnmp (which uses pycrypto) on python 3.6.0 using pip, but I've got an error:
Command ""c:\program files (x86)\python36-32\python.exe" -u -c "import setuptools, tokenize;file='C: \Users\HOME-M~1\AppData\Local\Temp\pip-build-6l69kxa5\pycrypto\setup.py';f=getattr(tokenize, 'op en', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec')) " install --record C:\Users\HOME-M~1\AppData\Local\Temp\pip-qq93gmf_-record\install-record.txt --single- version-externally-managed --compile" failed with error code 1 in C:\Users\HOME-M~1\AppData\Local\Temp\p ip-build-6l69kxa5\pycrypto\
I'm not an advanced user, and I've not been able to come up with a solution for this problem. Please tell me if you know how to resolve it. Python 3.5.2 easily allowed installation.
Try PyCryptodome which is a drop-in replacement for now-obsolete PyCrypto.
$ pip install pycryptodome
Alternatively, if you'd take the latest pysnmp, it explicitly depends on Pycryptodome.
$ pip install git+https://github.com/etingof/pysnmp.git
Or just download zipped package, unpack it into a local dir and run python setup.py install