Collecting pyneb==1.1.19
Downloading PyNeb-1.1.19.tar.gz (26.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.7/26.7 MB 11.7 MB/s eta 0:00:00
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
╰─> [26 lines of output]
/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-install-lb9iy0x_/pyneb_aaa441c727ee45f3bb6824584243cce1/pyneb/utils/manage_atomic_data.py:483: SyntaxWarning: "is" with a literal. Did you mean "=="?
if spec is '':
Traceback (most recent call last):
File "/Users/livia/Desktop/Work/2024/piptests/glamenv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/Users/livia/Desktop/Work/2024/piptests/glamenv/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 "/Users/livia/Desktop/Work/2024/piptests/glamenv/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/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-build-env-c_ct2kw0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-build-env-c_ct2kw0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-build-env-c_ct2kw0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 503, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-build-env-c_ct2kw0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "<string>", line 14, in <module>
File "/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-install-lb9iy0x_/pyneb_aaa441c727ee45f3bb6824584243cce1/pyneb/__init__.py", line 14, in <module>
from .utils.manage_atomic_data import _ManageAtomicData
File "/private/var/folders/3n/n8dp6s096_d5k7hkwbt7njf80000gn/T/pip-install-lb9iy0x_/pyneb_aaa441c727ee45f3bb6824584243cce1/pyneb/utils/manage_atomic_data.py", line 3, in <module>
import numpy as np
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.
Any idea on how to solve this problem? I never experienced this issue before a I managed to easily install Pyneb without too much troubles on my old laptop.
Thanks in advance!
Livia