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

ERROR: Could not build wheels for pycrypto, which is required to install pyproject.toml-based projects #1059

Open
Ash77778 opened this issue Jan 18, 2024 · 7 comments

Comments

@Ash77778
Copy link

No description provided.

@Wattlee1
Copy link

im having the same issue. can someone let me know when its resolved

@r03n3h
Copy link

r03n3h commented Jan 30, 2024

change pycrypto to pycryptodome in requirements

@Vj9977
Copy link

Vj9977 commented Feb 15, 2024

I'm also having the same issue but with termux cli recommend a breakdown of fix for reinstall on all platforms available?

@NATHANIELCROSBY1
Copy link

m having the same issue. can someone let me know when it is resolved

@itz-Amethyst
Copy link

Hey 👋🏻 @NATHANIELCROSBY1, @Ash77778 I encountered the same error while working on a project that needed pycrypto. The solution that worked for me was to install the python-jose package. You can easily do this using pip or poetry.

With pip🐍:

pip install python-jose[cryptography]

With poetry📜:

poetry add python-jose[cryptography]
OR
poetry add python-jose -E cryptography

In fact, python-jose is an alternative version of pycrypto and should resolve the issue you're facing. Give it a try and let me know if it works for you too!

@krlabs
Copy link

krlabs commented Jun 9, 2024

Need edit file requirements.txt and instead pycrypto use pycryptodome, then install without problems.

@wgx-user
Copy link

Need edit file requirements.txt and instead pycrypto use pycryptodome, then install without problems.
I can't find this file

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

No branches or pull requests

8 participants