When you install bluing on Ubuntu22.04, it shows the followings:
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting bluing
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e5/1b/135cf87e9c6b51ba2210691054cdb0cf0a6f0c7d8e8ce91100a513f10514/bluing-0.12.0-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.5 MB/s 0:00:01
Collecting PyGObject>=3.42.2 (from bluing)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4a/36/fec530a313d3d48f12e112ac0a65ee3ccc87f385123a0493715609e8e99c/pygobject-3.52.3.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.1 MB/s 0:00:01
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
+ meson setup /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7 /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dtests=false -Dwheel=true --wrap-mode=nofallback --native-file=/tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv/meson-python-native-file.ini
The Meson build system
Version: 1.9.0
Source dir: /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7
Build dir: /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv
Build type: native build
Project name: pygobject
Project version: 3.52.3
C compiler for the host machine: ccache cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.0
Run-time dependency python found: YES 3.10
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency girepository-2.0 found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency girepository-2.0 because:
Use of fallback dependencies is disabled.
../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required but not found.
A full log can be found at /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv/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.
When you install bluing on Ubuntu22.04, it shows the followings:
Defaulting to user installation because normal site-packages is not writeable
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting bluing
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/e5/1b/135cf87e9c6b51ba2210691054cdb0cf0a6f0c7d8e8ce91100a513f10514/bluing-0.12.0-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.5 MB/s 0:00:01
Collecting PyGObject>=3.42.2 (from bluing)
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4a/36/fec530a313d3d48f12e112ac0a65ee3ccc87f385123a0493715609e8e99c/pygobject-3.52.3.tar.gz (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 1.1 MB/s 0:00:01
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [23 lines of output]
+ meson setup /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7 /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dtests=false -Dwheel=true --wrap-mode=nofallback --native-file=/tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv/meson-python-native-file.ini
The Meson build system
Version: 1.9.0
Source dir: /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7
Build dir: /tmp/pip-install-8tl89zc7/pygobject_66b15fb6917d4e8abe4246d6577c97c7/.mesonpy-gsuly5tv
Build type: native build
Project name: pygobject
Project version: 3.52.3
C compiler for the host machine: ccache cc (gcc 11.4.0 "cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.0
Run-time dependency python found: YES 3.10
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency girepository-2.0 found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency girepository-2.0 because:
Use of fallback dependencies is disabled.
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.