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

pip install sha3 error #11

Open
Syasya20 opened this issue Mar 13, 2024 · 0 comments
Open

pip install sha3 error #11

Syasya20 opened this issue Mar 13, 2024 · 0 comments

Comments

@Syasya20
Copy link

(.venv) PS C:\Python\pythonProject> pip install sha3
Collecting sha3
Using cached sha3-0.2.1.tar.gz (616 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: sha3
Building wheel for sha3 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [4 lines of output]
sha3.c
sha3.c(33): error C2016: C requires that a struct or union have at least one member
sha3.c(326): error C2106: '=': left operand must be l-value
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for sha3
Running setup.py clean for sha3
Failed to build sha3
ERROR: Could not build wheels for sha3, which is required to install pyproject.toml-based projects

my OS Win11x64
install pack:
Visual Studio
Windows 10 SDK (10.0.20348.0)
Windows 11 SDK (10.0.22621.0)
MSCV v143 vs-2022 C++x64/x86 build tools (latest)
MSCV v142 vs-2019 C++x64/x86 build tools (v14.29)
C++ CMake tools for Windows
Testing tools core features - Biuld Tools
C++ Adress Sanitizer
C++ ATL for latest v143 tools (x64&x86)
Python 3.12.2

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