Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Subprocess exited with error + Metadata generation failed #150

Open
judedanielsmith opened this issue Aug 29, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@judedanielsmith
Copy link

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 judedanielsmith added the bug Something isn't working label Aug 29, 2024
@justin025
Copy link

justin025 commented Aug 31, 2024

I have macos builds here, when i built 0.6 I pretty much ran below and it ran fine.
brew install python ffmpeg
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
build_mac.sh

you explain the steps you took, also use requirements from my repo instead, the one here is outdated

@judedanielsmith
Copy link
Author

hey - thanks for the updated repo, it gets to preparing metadata when installing the requirements text, mac gets extremely hot and nothing happens. process doesn't terminate but just stays extremely hot, do I need to wait a while or is there something not working?

@justin025
Copy link

justin025 commented Sep 4, 2024

Sorry for forgetting but brew install ffmpeg might fix this. Make sure to build from 0.6.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@judedanielsmith @justin025 and others