Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue installing requirements even after installing the build tools #4

Open
zethfoxster opened this issue Aug 5, 2023 · 1 comment

Comments

@zethfoxster
Copy link

[55/55] Cythonizing sklearn\utils\sparsefuncs_fast.pyx
main()
File "C:\Users\omega\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\omega\AppData\Local\Programs\Python\Python310\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\setuptools\build_meta.py", line 380, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 319, in
File "", line 315, in setup_package
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\numpy\distutils\core.py", line 135, in setup
config = configuration()
File "", line 201, in configuration
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 1014, in add_subpackage
config_list = self.get_subpackage(subpackage_name, subpackage_path,
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 980, in get_subpackage
config = self._get_configuration_from_setup_py(
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\numpy\distutils\misc_util.py", line 922, in get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "C:\Users\omega\AppData\Local\Temp\pip-install-paqgsi1e\scikit-learn_16e7ad594ce04c328260554aab09d566\sklearn\setup.py", line 85, in configuration
cythonize_extensions(top_path, config)
File "C:\Users\omega\AppData\Local\Temp\pip-install-paqgsi1e\scikit-learn_16e7ad594ce04c328260554aab09d566\sklearn_build_utils_init
.py", line 73, in cythonize_extensions
config.ext_modules = cythonize(
File "C:\Users\omega\AppData\Local\Temp\pip-build-env-y1y7qu0y\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1125, in cythonize
result.get(99999) # seconds
File "C:\Users\omega\AppData\Local\Programs\Python\Python310\lib\multiprocessing\pool.py", line 774, in get
raise self._value
Cython.Compiler.Errors.CompileError: sklearn\ensemble_hist_gradient_boosting\splitting.pyx
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

@zethfoxster
Copy link
Author

to solve i had to simply have the VS c++ installed then i manually installed dlib and the other modules as it told me it didnt have them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant