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 pyethash, which is required to install pyproject.toml-based projects #270

Open
penonds opened this issue Sep 20, 2023 · 0 comments

Comments

@penonds
Copy link

penonds commented Sep 20, 2023

  • Version: last
  • Python: 3.10.12
  • OS: win10

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

@ethereum ethereum deleted a comment Oct 26, 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