I am trying to install pip install Pycaret while building a prediction model, while executing the command to install in on my mac os.
I do have my numpy installed, with version of: 1.23.5
Please Help… Thank you very much!:)
I tried to update Numpy to make it compatible with Pycaret version but I had no luck.
How can I fix it to successfully install the Pycaret module?
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─\> \[20 lines of output\]
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/\_vendor/pyproject_hooks/\_in_process/\_in_process.py", line 353, in \<module\>
main()
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/\_vendor/pyproject_hooks/\_in_process/\_in_process.py", line 335, in main
json_out\['return_val'\] = hook(\*\*hook_input\['kwargs'\])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/\_vendor/pyproject_hooks/\_in_process/\_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/82/rx54lvmd1hz_l7fcq3sc7vdc0000gn/T/pip-build-env-q19ffolb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
return self.\_get_build_requires(config_settings, requirements=\['wheel'\])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/82/rx54lvmd1hz_l7fcq3sc7vdc0000gn/T/pip-build-env-q19ffolb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in \_get_build_requires
self.run_setup()
File "/private/var/folders/82/rx54lvmd1hz_l7fcq3sc7vdc0000gn/T/pip-build-env-q19ffolb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 507, in run_setup
super(\_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "/private/var/folders/82/rx54lvmd1hz_l7fcq3sc7vdc0000gn/T/pip-build-env-q19ffolb/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
File "\<string\>", line 18, in \<module\>
ModuleNotFoundError: No module named 'numpy'
\[end of output\]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─\> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.