Closed SIGGRUV closed 5 months ago
me too
I am sorry. I would love to dive into this, but for the time being I do not have the ressources necessary.
It turns out that this error is thrown when you try building without having "Windows SDK for Desktop C++" installed. This SO thread https://stackoverflow.com/questions/40018405/cannot-open-include-file-io-h-no-such-file-or-directory explains it.
I have previously used the Septima fork of malstroem but need to install it on another computer. I am unable to install it and am uncertain what is happening. This is the text produced in the anaconda prompt:
(malstroem) C:\Users\J>pip install https://github.com/Septima/malstroem/archive/master.zip#[speedups] Collecting https://github.com/Septima/malstroem/archive/master.zip#[speedups] Using cached https://github.com/Septima/malstroem/archive/master.zip Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (1.21.6) Requirement already satisfied: click in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (8.1.3) Requirement already satisfied: gdal in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (3.5.2) Requirement already satisfied: future in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (0.18.2) Requirement already satisfied: scipy in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (1.7.3) Requirement already satisfied: click-log==0.1.8 in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from malstroem==1.0.0) (0.1.8) Requirement already satisfied: colorama in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from click->malstroem==1.0.0) (0.4.6) Requirement already satisfied: importlib-metadata in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from click->malstroem==1.0.0) (5.0.0) Requirement already satisfied: zipp>=0.5 in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from importlib-metadata->click->malstroem==1.0.0) (3.10.0) Requirement already satisfied: typing-extensions>=3.6.4 in c:\users\j\anaconda3\envs\malstroem\lib\site-packages (from importlib-metadata->click->malstroem==1.0.0) (4.4.0) Building wheels for collected packages: malstroem Building wheel for malstroem (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [96 lines of output] C:\Users\J\anaconda3\envs\malstroem\lib\site-packages\setuptools\dist.py:774: UserWarning: Usage of dash-separated 'dry-run' will not be supported in future versions. Please use the underscore name 'dry_run' instead % (opt, underscore_opt) running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-37 creating build\lib.win-amd64-cpython-37\malstroem copying malstroem\approx.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\bluespots.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\dem.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\hyps.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\io.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\network.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\rain.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\streams.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\vector.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem__init.py -> build\lib.win-amd64-cpython-37\malstroem creating build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\dtypes.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\fill.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\flow.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\label.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\net.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms_raster_utils.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms__init__.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms creating build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\bluespot.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\cli.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\complete.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\dem.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\finalstate.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\hyps.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\initvolume.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\stream.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts_utils.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\init.py -> build\lib.win-amd64-cpython-37\malstroem\scripts creating build\lib.win-amd64-cpython-37\malstroem\algorithms\speedups copying malstroem\algorithms\speedups\init__.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms\speedups running egg_info creating malstroem.egg-info writing malstroem.egg-info\PKG-INFO writing dependency_links to malstroem.egg-info\dependency_links.txt writing entry points to malstroem.egg-info\entry_points.txt writing requirements to malstroem.egg-info\requires.txt writing top-level names to malstroem.egg-info\top_level.txt writing manifest file 'malstroem.egg-info\SOURCES.txt' reading manifest file 'malstroem.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' adding license file 'LICENSE' writing manifest file 'malstroem.egg-info\SOURCES.txt' C:\Users\J\anaconda3\envs\malstroem\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'malstroem.algorithms.speedups' as data is deprecated, please list it in
packages
. !!note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for malstroem Running setup.py clean for malstroem Failed to build malstroem Installing collected packages: malstroem Running setup.py install for malstroem ... error error: subprocess-exited-with-error
× Running setup.py install for malstroem did not run successfully. │ exit code: 1 ╰─> [96 lines of output] C:\Users\J\anaconda3\envs\malstroem\lib\site-packages\setuptools\dist.py:774: UserWarning: Usage of dash-separated 'dry-run' will not be supported in future versions. Please use the underscore name 'dry_run' instead % (opt, underscore_opt) running install C:\Users\J\anaconda3\envs\malstroem\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, running build running build_py creating build creating build\lib.win-amd64-cpython-37 creating build\lib.win-amd64-cpython-37\malstroem copying malstroem\approx.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\bluespots.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\dem.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\hyps.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\io.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\network.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\rain.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\streams.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem\vector.py -> build\lib.win-amd64-cpython-37\malstroem copying malstroem__init.py -> build\lib.win-amd64-cpython-37\malstroem creating build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\dtypes.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\fill.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\flow.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\label.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms\net.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms_raster_utils.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms copying malstroem\algorithms__init__.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms creating build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\bluespot.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\cli.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\complete.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\dem.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\finalstate.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\hyps.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\initvolume.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\stream.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts_utils.py -> build\lib.win-amd64-cpython-37\malstroem\scripts copying malstroem\scripts\init.py -> build\lib.win-amd64-cpython-37\malstroem\scripts creating build\lib.win-amd64-cpython-37\malstroem\algorithms\speedups copying malstroem\algorithms\speedups\init__.py -> build\lib.win-amd64-cpython-37\malstroem\algorithms\speedups running egg_info writing malstroem.egg-info\PKG-INFO writing dependency_links to malstroem.egg-info\dependency_links.txt writing entry points to malstroem.egg-info\entry_points.txt writing requirements to malstroem.egg-info\requires.txt writing top-level names to malstroem.egg-info\top_level.txt reading manifest file 'malstroem.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' adding license file 'LICENSE' writing manifest file 'malstroem.egg-info\SOURCES.txt' C:\Users\J\anaconda3\envs\malstroem\lib\site-packages\setuptools\command\build_py.py:202: SetuptoolsDeprecationWarning: Installing 'malstroem.algorithms.speedups' as data is deprecated, please list it in
packages
. !!note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> malstroem
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
(malstroem) C:\Users\J>