Open ytrezq opened 5 years ago
@ytrezq Did you figure it out?
@Elyx0 no and that s why I opened an issue instead of a pull request.
I'm running into a similar issue except I can't even get to the build stages. I'm running a fairly recently Windows 10 64 bit with Python 3.9.2 and updated pip.
ERROR: Command errored out with exit status 1: 'c:\users\adame.virtualenvs\blockchain-0mmehouo\scripts\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\adame\AppData\Local\Temp\pip-install-ci5stdl5\pyethash_13294ee2ff324517bae80ee63da93ca0\setup.py'"'"'; file='"'"'C:\Users\adame\AppData\Local\Temp\pip-install-ci5stdl5\pyethash_13294ee2ff324517bae80ee63da93ca0\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\adame\AppData\Local\Temp\pip-record-gyy4omo5\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\adame.virtualenvs\blockchain-0mmehouo\include\site\python3.9\pyethash' Check the logs for full command output.`
As you know, pip3 is now supported and installed along the Python .msi installer. The only compiler which can be used with the pip version installed with Python for Windows is the official ones from Visual Studio (because this the compiler used to compile Python for Windows and because of differences with other Systems compilers should be the same as the one used to build Python).
As result :
Which is normal since
‑std=gnu99
is a ɢɴᴜ gcc’s compiler option…