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
I am trying to have a development version on my Mac using VSC.
However, when I try pip instal . I get the following error:
Collecting Pillow==10.3.0 (from NEMO==6.0.3)
Using cached pillow-10.3.0.tar.gz (46.6 MB)
Running command pip subprocess to install build dependencies
Using pip 24.3.1 from /Users/m/GitHub/NEMO_RITS/venv/lib/python3.13/site-packages/pip (python 3.13)
Collecting setuptools>=67.8
Obtaining dependency information for setuptools>=67.8 from https://files.pythonhosted.org/packages/69/8a/b9dc7678803429e4a3bc9ba462fa3dd9066824d3c607490235c6a796be5a/setuptools-75.8.0-py3-none-any.whl.metadata
Using cached setuptools-75.8.0-py3-none-any.whl.metadata (6.7 kB)
Using cached setuptools-75.8.0-py3-none-any.whl (1.2 MB)
Installing collected packages: setuptools
Successfully installed setuptools-75.8.0
Installing build dependencies ... done
Running command Getting requirements to build wheel
Traceback (most recent call last):
File "/Users/m/GitHub/NEMO_RITS/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in<module>main()
~~~~^^
File "/Users/m/GitHub/NEMO_RITS/venv/lib/python3.13/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/m/GitHub/NEMO_RITS/venv/lib/python3.13/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/lh/7wc223310n3bq90vtfqvnvtm0000gn/T/pip-build-env-b6okgq7b/overlay/lib/python3.13/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/lh/7wc223310n3bq90vtfqvnvtm0000gn/T/pip-build-env-b6okgq7b/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 304, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/private/var/folders/lh/7wc223310n3bq90vtfqvnvtm0000gn/T/pip-build-env-b6okgq7b/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 33, in<module>
File "<string>", line 27, in get_version
KeyError: '__version__'
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.
full command: /Users/m/GitHub/NEMO_RITS/venv/bin/python3.13 /Users/m/GitHub/NEMO_RITS/venv/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /var/folders/lh/7wc223310n3bq90vtfqvnvtm0000gn/T/tmpt94s9uyz
cwd: /private/var/folders/lh/7wc223310n3bq90vtfqvnvtm0000gn/T/pip-install-2anntprx/pillow_1f7aab1db6a949c08bab75df46ba97e8
Getting requirements to build wheel ... error
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 help is appreciated.
The text was updated successfully, but these errors were encountered:
I found out the reason. According to this issue, Python 3.13 is not supported with Pillow 10.3.0. We must edit its version to 10.4.0 inside the setup.py file.
Hi there,
I am trying to have a development version on my Mac using VSC.
However, when I try
pip instal .
I get the following error:Any help is appreciated.
The text was updated successfully, but these errors were encountered: