You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building wheels for collected packages: pyethash
Building wheel for pyethash (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
internal.c
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
io.c
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
io_win32.c
c1: fatal error C1083: 无法打开源文件: “src/libethash/io_win32.c”: No such file or directory
error: command 'D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\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 pyethash
Running setup.py clean for pyethash
Failed to build pyethash ERROR: Could not build wheels for pyethash, which is required to install pyproject.toml-based projects
I executed: pip install -e ".[dev]"
What was wrong?
error occurred:
Building wheels for collected packages: pyethash
Building wheel for pyethash (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
internal.c
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
io.c
cl: 命令行 warning D9002 :忽略未知选项“-std=gnu99”
io_win32.c
c1: fatal error C1083: 无法打开源文件: “src/libethash/io_win32.c”: No such file or directory
error: command 'D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\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 pyethash
Running setup.py clean for pyethash
Failed to build pyethash
ERROR: Could not build wheels for pyethash, which is required to install pyproject.toml-based projects
How can it be fixed?
install Microsoft C++ Build Tools ,But the problem remains
The text was updated successfully, but these errors were encountered: