Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install simple-crypt #28

Open
onkarghaisas opened this issue Mar 29, 2021 · 1 comment · May be fixed by #26
Open

Unable to install simple-crypt #28

onkarghaisas opened this issue Mar 29, 2021 · 1 comment · May be fixed by #26

Comments

@onkarghaisas
Copy link

Hi,
while installing on simplecrypt, I am getting below error;

warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmat

building 'Crypto.Random.OSRNG.winrandom' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsof
C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

Has anyone faced this issue and found any solution?

thanks in advance.

@ghost
Copy link

ghost commented Jun 15, 2021

Hello @onkarghaisas,

I believe this is an issue with the package pycrypto, which simplecrypt requires. This issue can be fixed by simply replacing pycrypto with pycryptodome in the setup file. After you have replaced that, type as follows: python setup.py install and pip install pycryptodome. I hope this helps.

- Geographs

@KyleKing KyleKing linked a pull request Aug 9, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant