Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

Failed building wheel for cryptography #315

Closed
Darkcast opened this issue Dec 31, 2017 · 6 comments
Closed

Failed building wheel for cryptography #315

Darkcast opened this issue Dec 31, 2017 · 6 comments

Comments

@Darkcast
Copy link

Installation failed

Can't rollback cryptography, nothing uninstalled.
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-Tyh5Do/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-9vX9uj-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-Tyh5Do/cryptography/

Failed building wheel for cryptography
Kali linux 2017.3
Virtual Machine yes vmware

  • Operating System and version: windows 10
@yudevan
Copy link
Contributor

yudevan commented Jan 6, 2018

Hi,
It happened to me after I did dist-upgrade. apparently it caused by kali upgrading libssl to version 1.0.2-n1.
I resolved this problem after downgrading libssl by:
apt-get install libssl1.0

and then I reinstall mitmproxy to version 0.18.2 (the last version with python2.7) the mitmproxy has to be the one with python2.7 as the recent release, mitmproxy has dropped support for python2.7. here is what i did

pip install mitmproxy==0.18.2 typing

and you should be set

@Darkcast
Copy link
Author

Will do thanks

@thecomicguy
Copy link

Yudeven, thank you for your succinct instructions. I am indeed - set. Worked perfectly.

@cash87
Copy link

cash87 commented Jan 15, 2018

Hello guys.

I have that same issue but in Ubuntu 16.04. I did the downgrade libssl to 1.0 but still have the same answer

"Failed building wheel for cryptography"
Before that say me alot of message about methods DEPRECATEDIN_1_1_0

I test with ubuntu 14.04, in these work fine.

Thanks for your help

Regards

@yudevan
Copy link
Contributor

yudevan commented Jan 16, 2018

Could you paste the error here especially few lines before "Failed building wheel for crypto..."

@mh4x0f mh4x0f closed this as completed Jan 20, 2018
@P0cL4bs P0cL4bs deleted a comment from cash87 Aug 8, 2018
@Anucode
Copy link

Anucode commented May 16, 2019

I got the same error on windows 10. Can anyone help on this?.

Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants