The code which produced the error - pip install 'web3[tester]' The full output of the error -
`Requirement already satisfied: sortedcontainers>=2.1.0 in e:\anaconda3\anaconda3\lib\site-packages (from trie<3,>=2.0.0->py-evm==0.7.0a2->eth-tester[py-evm]==v0.9.0-b.1->web3[tester]) (2.1.0)
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:\Visual Studio\Visual Studio IDE Community\VC\Tools\MSVC\14.36.32532\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`
What am I doing wrong and how can I fix it? Thanks to everyone for their time and efforts.
version web3=6.5.0 python=3.7.3 OS= win10
**pip freeze**
output :The code which produced the error - pip install 'web3[tester]' The full output of the error -
`Requirement already satisfied: sortedcontainers>=2.1.0 in e:\anaconda3\anaconda3\lib\site-packages (from trie<3,>=2.0.0->py-evm==0.7.0a2->eth-tester[py-evm]==v0.9.0-b.1->web3[tester]) (2.1.0) 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:\Visual Studio\Visual Studio IDE Community\VC\Tools\MSVC\14.36.32532\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` What am I doing wrong and how can I fix it? Thanks to everyone for their time and efforts.