onthespot icon indicating copy to clipboard operation
onthespot copied to clipboard

[BUG] Subprocess exited with error + Metadata generation failed

Open judedanielsmith opened this issue 5 months ago • 3 comments

Hey all. trying to install onthespot on mac. Whether I'm trying to install requirements or run the build file, I get this error message.

--

Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [21 lines of output] pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead Querying qmake about your Qt installation... Traceback (most recent call last): File "/Users/username/onthespot/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/Users/username/onthespot/venv/lib/python3.12/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/username/onthespot/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel whl_basename = backend.build_wheel(metadata_directory, config_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/tmp/pip-build-env-ecw9b5tl/overlay/lib/python3.12/site-packages/sipbuild/api.py", line 28, in build_wheel project = AbstractProject.bootstrap('wheel', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/tmp/pip-build-env-ecw9b5tl/overlay/lib/python3.12/site-packages/sipbuild/abstract_project.py", line 74, in bootstrap project.setup(pyproject, tool, tool_description) File "/private/tmp/pip-build-env-ecw9b5tl/overlay/lib/python3.12/site-packages/sipbuild/project.py", line 624, in setup self.update(tool) File "/private/tmp/pip-install-kbr379aw/pyqt5_ef134987c4814a78b7603fac398bc418/project.py", line 165, in update raise UserException( sipbuild.exceptions.UserException [end of output]

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

× Encountered error while generating package metadata. ╰─> See above for output.

--

Any ideas?

judedanielsmith avatar Aug 29 '24 15:08 judedanielsmith