Error 1 while installing pip package (pycrypto)

Error 1 while installing pip package (pycrypto)



I've been trying to install pycrypto. After getting this error, I tried to uninstall python 3.7 and install 3.6 as specified by a thread somewhere. This didn't make it any better. Please let me know how to resolve this. I'm on Windows 7, 64 bit, Python 3.6.


----------------------------------------
Command "c:usersadminappdatalocalprogramspythonpython36python.exe -u -c
"import setuptools, tokenize;__file__='C:\Users\Admin\AppData\Local\Temp\p
ip-install-lm9pf3lz\pycrypto\setup.py';f=getattr(tokenize, 'open', open)(__fil
e__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__,
'exec'))" install --record C:UsersAdminAppDataLocalTemppip-record-0pd9vdl0
install-record.txt --single-version-externally-managed --compile" failed with e
rror code 1 in C:UsersAdminAppDataLocalTemppip-install-lm9pf3lzpycrypto





any particular reason you are not just doing pip install pycrypto?
– Austin Yates
Aug 23 at 15:07


pip install pycrypto





If you are using pip to install and you got that error, look above it in the rest of the output. I get the same error output as you have above and the reason is most likely that above in the output it says that I need Visual Studio Build Tools installed
– Austin Yates
Aug 23 at 15:11


pip





@AustinYates I am using pip install crypto
– Sriram D
Aug 23 at 15:14


pip install crypto





That actually is right, thank you so much. @AustinYates
– Sriram D
Aug 23 at 15:15





No Problem - always look above where you see the error to make sure there wasn't an earlier reported problem and then handle the errors in order
– Austin Yates
Aug 23 at 15:17




1 Answer
1



You can also install via wheels, which usually include the binary so you don't have to compile.



https://github.com/sfbahr/PyCrypto-Wheels






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)