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.
It's the same code, just different names. pycryptodome has some association to pyCrypto and can be considered a drop in replacement when migrating from PyCrypto to PyCryptodome.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With