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

err in pip3.10 #48

Open
jelasin opened this issue Oct 18, 2024 · 1 comment
Open

err in pip3.10 #48

jelasin opened this issue Oct 18, 2024 · 1 comment

Comments

@jelasin
Copy link

jelasin commented Oct 18, 2024

~# pip install bluing
Collecting bluing
Using cached bluing-0.12.0-py3-none-any.whl.metadata (34 kB)
Collecting PyGObject>=3.42.2 (from bluing)
Using cached pygobject-3.50.0.tar.gz (1.1 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [73 lines of output]
Collecting meson-python>=0.12.1
Using cached meson_python-0.16.0-py3-none-any.whl.metadata (4.1 kB)
Collecting pycairo>=1.16
Using cached pycairo-1.27.0.tar.gz (661 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

    × Preparing metadata (pyproject.toml) did not run successfully.
    │ exit code: 1
    ╰─> [48 lines of output]
        + meson setup /tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e /tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e/.mesonpy-s11vu69f -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dwheel=true -Dtests=false --native-file=/tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e/.mesonpy-s11vu69f/meson-python-native-file.ini
        The Meson build system
        Version: 1.5.2
        Source dir: /tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e
        Build dir: /tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e/.mesonpy-s11vu69f
        Build type: native build
        Project name: pycairo
        Project version: 1.27.0
        C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0")
        C linker for the host machine: cc ld.bfd 2.34
        Host machine cpu family: x86_64
        Host machine cpu: x86_64
        Program python3 found: YES (/usr/bin/python3)
        Compiler for C supports arguments -Wall: YES
        Compiler for C supports arguments -Warray-bounds: YES
        Compiler for C supports arguments -Wcast-align: YES
        Compiler for C supports arguments -Wconversion: YES
        Compiler for C supports arguments -Wextra: YES
        Compiler for C supports arguments -Wformat=2: YES
        Compiler for C supports arguments -Wformat-nonliteral: YES
        Compiler for C supports arguments -Wformat-security: YES
        Compiler for C supports arguments -Wimplicit-function-declaration: YES
        Compiler for C supports arguments -Winit-self: YES
        Compiler for C supports arguments -Winline: YES
        Compiler for C supports arguments -Wmissing-format-attribute: YES
        Compiler for C supports arguments -Wmissing-noreturn: YES
        Compiler for C supports arguments -Wnested-externs: YES
        Compiler for C supports arguments -Wold-style-definition: YES
        Compiler for C supports arguments -Wpacked: YES
        Compiler for C supports arguments -Wpointer-arith: YES
        Compiler for C supports arguments -Wreturn-type: YES
        Compiler for C supports arguments -Wshadow: YES
        Compiler for C supports arguments -Wsign-compare: YES
        Compiler for C supports arguments -Wstrict-aliasing: YES
        Compiler for C supports arguments -Wundef: YES
        Compiler for C supports arguments -Wunused-but-set-variable: YES
        Compiler for C supports arguments -Wswitch-default: YES
        Compiler for C supports arguments -Wno-missing-field-initializers: YES
        Compiler for C supports arguments -Wno-unused-parameter: YES
        Compiler for C supports arguments -fno-strict-aliasing: YES
        Compiler for C supports arguments -fvisibility=hidden: YES
        Found pkg-config: YES (/usr/bin/pkg-config) 0.29.1
        Run-time dependency cairo found: YES 1.16.0
        Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
  
        ../cairo/meson.build:51:15: ERROR: Python dependency not found
  
        A full log can be found at /tmp/pip-install-w__4vr_j/pycairo_0ef10b3d98b148afbf2d0e153543ae3e/.mesonpy-s11vu69f/meson-logs/meson-log.txt
        [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.
  
  note: This is an issue with the package mentioned above, not pip.
  hint: See above for details.
  [end of output]

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

× pip subprocess to install build dependencies 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.

@Sechorda
Copy link

Sechorda commented Jan 6, 2025

Same error

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