You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to install nbodykit on a MacOS with pip (without Anaconda) but I'm getting an error.
Steps To Reproduce
Following the steps written in the webpage, when I get to the pip install nbodykit I get en error.
Actual behaviour
Error message:
...
Collecting kdcount (from nbodykit)
Using cached kdcount-0.3.29.tar.gz (204 kB)
Installing build dependencies ... done
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
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/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 2, in
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.
Expected behaviour
This should work. Numpy is correctly installed and working.
Additional context
MacOS Sonoma 14.6.1, pip 24.3.1, Python 3.11.3, numpy 1.26.4.
When trying the command pip install nbodykit[extras] I get the following error:
zsh: no matches found: nbodykit[extras]
The text was updated successfully, but these errors were encountered:
mroncarelli
changed the title
Problem with installation on MacOSX
Problem with installation on MacOS
Nov 13, 2024
Describe the bug
I'm trying to install
nbodykit
on a MacOS withpip
(without Anaconda) but I'm getting an error.Steps To Reproduce
Following the steps written in the webpage, when I get to the
pip install nbodykit
I get en error.Actual behaviour
Error message:
...
Collecting kdcount (from nbodykit)
Using cached kdcount-0.3.29.tar.gz (204 kB)
Installing build dependencies ... done
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
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/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 334, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 522, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/y0/v_gzs37525n5dbmly3jnsjs00000gn/T/pip-build-env-cyk1o9fi/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
File "", line 2, in
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.
Expected behaviour
This should work. Numpy is correctly installed and working.
Additional context
MacOS Sonoma 14.6.1, pip 24.3.1, Python 3.11.3, numpy 1.26.4.
When trying the command
pip install nbodykit[extras]
I get the following error:zsh: no matches found: nbodykit[extras]
The text was updated successfully, but these errors were encountered: