tables Collecting tables==3.6.1 Using cached tables-3.6.1.tar.gz (4.6 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [9 lines of output] H5closenskc_llg.c C:\Users\Jonathan\AppData\Local\Temp\H5closenskc_llg.c(2): warning C4013: 'H5close' undefined; assuming extern returning int LINK : fatal error LNK1181: cannot open input file 'hdf5.lib' * Using Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)] * USE_PKGCONFIG: False .. ERROR:: Could not find a local HDF5 installation. You may need to explicitly state where your local HDF5 headers and library can be found by setting the ``HDF5_DIR`` environment variable or by using the ``--hdf5`` command-line option. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed scikit-learn Collecting scikit-learn==1.0.1 Using cached scikit-learn-1.0.1.tar.gz (6.6 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [77 lines of output] Partial import of sklearn during the build process. No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py:528: UserWarning: Fallback spawn triggered. Please update distutils monkeypatch. warnings.warn( C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE -IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE -IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um -IC:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt /Tctest_program.c /Foobjects\test_program.obj C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64 objects\test_program.obj /OUT:test_program.exe Generating code Finished generating code LINK : fatal error LNK1158: cannot run 'rc.exe' Traceback (most recent call last): File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 522, in _fallback_spawn yield bag File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 510, in spawn return super().spawn(cmd, env=env) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\ccompiler.py", line 88, in m = lambda self, *args, **kw: func(self, *args, **kw) TypeError: CCompiler_spawn() got an unexpected keyword argument 'env' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 501, in link self.spawn([self.linker] + ld_args) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 509, in spawn with self._fallback_spawn(cmd, env) as fallback: File "C:\Users\Jonathan\AppData\Local\Programs\Python\Python310\lib\contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 531, in _fallback_spawn bag.value = super().spawn(cmd) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\ccompiler.py", line 88, in m = lambda self, *args, **kw: func(self, *args, **kw) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\ccompiler.py", line 171, in CCompiler_spawn raise DistutilsExecError('Command "%s" failed with exit status %d%s' % distutils.errors.DistutilsExecError: Command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64 objects\test_program.obj /OUT:test_program.exe" failed with exit status 1158 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Jonathan\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in main() File "C:\Users\Jonathan\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "C:\Users\Jonathan\AppData\Local\Programs\Python\Python310\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 164, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\build_meta.py", line 188, in prepare_metadata_for_build_wheel self.run_setup() File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\build_meta.py", line 281, in run_setup super(_BuildMetaLegacyBackend, File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 319, in setup_package() File "setup.py", line 315, in setup_package setup(**metadata) File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\core.py", line 135, in setup config = configuration() File "setup.py", line 201, in configuration config.add_subpackage("sklearn") File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 1016, in add_subpackage config_list = self.get_subpackage(subpackage_name, subpackage_path, File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 982, in get_subpackage config = self._get_configuration_from_setup_py( File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 924, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "sklearn\setup.py", line 85, in configuration cythonize_extensions(top_path, config) File "C:\Users\Jonathan\AppData\Local\Temp\pip-install-y37p1idz\scikit-learn_ded39eca595c4440876493b312fc95f5\sklearn\_build_utils\__init__.py", line 47, in cythonize_extensions basic_check_build() File "C:\Users\Jonathan\AppData\Local\Temp\pip-install-y37p1idz\scikit-learn_ded39eca595c4440876493b312fc95f5\sklearn\_build_utils\pre_build_helpers.py", line 113, in basic_check_build compile_test_program(code) File "C:\Users\Jonathan\AppData\Local\Temp\pip-install-y37p1idz\scikit-learn_ded39eca595c4440876493b312fc95f5\sklearn\_build_utils\pre_build_helpers.py", line 76, in compile_test_program ccompiler.link_executable( File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\ccompiler.py", line 731, in link_executable self.link(CCompiler.EXECUTABLE, objects, File "C:\Users\Jonathan\AppData\Local\Temp\pip-build-env-r072pw6h\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 503, in link raise LinkError(msg) distutils.errors.LinkError: Command "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe /nologo /INCREMENTAL:NO /LTCG /MANIFEST:EMBED,ID=1 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\LIB\amd64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.20348.0\um\x64 objects\test_program.obj /OUT:test_program.exe" failed with exit status 1158 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed