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

Problems with installing pycryptodome on Windows #1

Closed
hgzech opened this issue Jun 28, 2023 · 1 comment
Closed

Problems with installing pycryptodome on Windows #1

hgzech opened this issue Jun 28, 2023 · 1 comment

Comments

@hgzech
Copy link
Owner

hgzech commented Jun 28, 2023

DEPRECATION: pycryptodome is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for pycryptodome ... error
error: subprocess-exited-with-error

× Running setup.py install for pycryptodome did not run successfully.
│ exit code: 1
╰─> [362 lines of output]

When I add the --use-pep517 option (as suggested) and run the command again, I get a different error:

Building wheel for pycryptodome (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for pycryptodome (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [360 lines of output]

Failed to build pycryptodome
ERROR: Could not build wheels for pycryptodome, which is required to install pyproject.toml-based projects

@hgzech hgzech changed the title Problems with installing pycriptodome on Windows Problems with installing pycryptodome on Windows Jun 28, 2023
@hgzech
Copy link
Owner Author

hgzech commented Jun 28, 2023

This can be fixed by installing visual studio build tools from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019 . This should install MSVC and allow to install pycryptodome.

@hgzech hgzech closed this as completed Jun 28, 2023
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

1 participant