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

Failed to build when running pip install #102

Closed
raylin01 opened this issue Apr 11, 2024 · 3 comments
Closed

Failed to build when running pip install #102

raylin01 opened this issue Apr 11, 2024 · 3 comments

Comments

@raylin01
Copy link

Hi, I am trying to install this package in my docker with pip install shazamio. I am getting the following error:

12.56   Downloading shazamio_core-1.0.7.tar.gz (2.2 kB)
12.57   Installing build dependencies: started
13.64   Installing build dependencies: finished with status 'done'
13.64   Getting requirements to build wheel: started
13.67   Getting requirements to build wheel: finished with status 'done'
13.67   Preparing metadata (pyproject.toml): started
13.72   Preparing metadata (pyproject.toml): finished with status 'error'
13.72   error: subprocess-exited-with-error
13.72   
13.72   × Preparing metadata (pyproject.toml) did not run successfully.
13.72   │ exit code: 1
13.72   ╰─> [5 lines of output]
13.72       💥 maturin failed
13.72         Caused by: Can't find /tmp/pip-install-_pq0d2g2/shazamio-core_7152718c50934472b402d0dfd12c51f1/Cargo.toml (in /tmp/pip-install-_pq0d2g2/shazamio-core_7152718c50934472b402d0dfd12c51f1)
13.72       Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-6helvmpj', '--interpreter', '/var/lang/bin/python3.11']' returned non-zero exit status 1.
13.72       Checking for Rust toolchain....
13.72       Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-6helvmpj --interpreter /var/lang/bin/python3.11`
13.72       [end of output]
13.72   
13.72   note: This error originates from a subprocess, and is likely not a problem with pip.
13.73 error: metadata-generation-failed
13.73 
13.73 × Encountered error while generating package metadata.
13.73 ╰─> See above for output.
13.73 
13.73 note: This is an issue with the package mentioned above, not pip.
13.73 hint: See above for details.

I was able to get rust installed and installing maturin doesn't seem to help. Are there any specific build instructions and prerequisites I should follow? Thanks.

@raylin01
Copy link
Author

it appears its a shazamio core issue, as specified here: shazamio/shazamio-core#9. I will be updating if i can get it to work

@dotX12 dotX12 reopened this Apr 12, 2024
@dotX12
Copy link
Collaborator

dotX12 commented Apr 12, 2024

@raylin01, Hello, what is your operating system and version?

@dotX12
Copy link
Collaborator

dotX12 commented Apr 12, 2024

Please leave a response in this thread shazamio/shazamio-core#9 and close the question in this thread.
I will help you with your problem in shazamio-core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants