手动或使用 pip 安装 pyethash 时,出现同样的错误:
致命错误 C1083:无法打开包含文件:“alloca.h”:没有此类文件或目录错误:命令“C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe”失败退出状态2
python 2.7.11(v2.7.11:6d1b6a68f775,2015 年 12 月 5 日,20:40:30)[MSC v.1500 64 位(AMD64)],Windows 8.1 x64
PS C:\pyethereum\ethash-master> python setup.py install
running install
running build
running build_ext
building 'pyethash' extension
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.exe …Run Code Online (Sandbox Code Playgroud)