Error installing on Windows 10
Closed this issue · 1 comments
XinY-Z commented
Came into this error when installing. Wonder if there is any way to work through this?
Building wheels for collected packages: PyMaxflow
Building wheel for PyMaxflow (setup.py) ... error
error: subprocess-exited-with-error
I also ran the manual setup with python setup.py build
which failed as well
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
XinY-Z commented
I resolved the issue myself. Windows SDK is needed when installing Visual Studio: https://stackoverflow.com/questions/40018405/cannot-open-include-file-io-h-no-such-file-or-directory