Open yupnano opened 6 years ago
I have the same error trying to install the package with pip 19.0.1 on Win 10 x64, Python 3.6.8.
Try running pip install pysha3
pysha3 docs: https://pypi.org/project/pysha3/
Помилка так і залишається (.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
win11x64
Hi, I have encountered an build error when running
pip install sha3
on Windows10, the error issha3.c(33): error C2016: C requires that a struct or union has at least one member
in sha3.c(33)Does anyone know how resolve this problem?
And here is the error message: