Skip to content

Installation failed/incomplete #805

Closed
@CaffineAddic

Description

@CaffineAddic

Fill out information requested in this template, without doing so issue will be ignored & closed!

Have you tried?

Error output:

sudo ./auto-cpufreq-installer
[sudo] password for root: 

─────────────────────────── auto-cpufreq installer ───────────────────────────

Welcome to auto-cpufreq tool installer.

Select a key [I]nstall/[R]emove or press ctrl+c to quit: i 


─────────────────────── Detected OpenSUSE distribution ───────────────────────


──────────────────────── Setting up Python environment ────────────────────────

Loading repository data...
Reading installed packages...
'gtk3' not found in package names. Trying capabilities.
'libgtk-3-0' providing 'gtk3' is already installed.
'gcc' is already installed.
No update candidate for 'gcc-14-2.2.x86_64'. The highest available version is already installed.
'python3-devel' not found in package names. Trying capabilities.
'python311-devel' providing 'python3-devel' is already installed.
'python3-pip' is already installed.
No update candidate for 'python3-pip-20.0.2-22.9.noarch'. The highest available version is already installed.
'python38' not found in package names. Trying capabilities.
No provider of 'python38' found.
'python3-cairo-devel' not found in package names. Trying capabilities.
'dmidecode' is already installed.
No update candidate for 'dmidecode-3.6-2.2.x86_64'. The highest available version is already installed.

──────────────────── Installing necessary Python packages ────────────────────

Requirement already satisfied: pip in /opt/auto-cpufreq/venv/lib64/python3.11/site-packages (24.3.1)
Requirement already satisfied: wheel in /opt/auto-cpufreq/venv/lib64/python3.11/site-packages (0.45.1)

──────────────────────── Installing auto-cpufreq tool ────────────────────────

Processing /home/saumya/Pictures/auto-cpufreq
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pyinotify@ git+https://github.com/shadeyg56/pyinotify-3.12 (from auto-cpufreq==2.5.0+c0d9ec5)
  Cloning https://github.com/shadeyg56/pyinotify-3.12 to /tmp/pip-install-88ufeouy/pyinotify_61e8bff66ccb47baa656dcfb6863eeed
  Running command git clone --filter=blob:none --quiet https://github.com/shadeyg56/pyinotify-3.12 /tmp/pip-install-88ufeouy/pyinotify_61e8bff66ccb47baa656dcfb6863eeed
  Resolved https://github.com/shadeyg56/pyinotify-3.12 to commit 271b7aba3269116b6c3870355393f47c79bce146
  Preparing metadata (setup.py) ... done
Collecting PyGObject<4.0.0,>=3.46.0 (from auto-cpufreq==2.5.0+c0d9ec5)
  Using cached pygobject-3.50.0.tar.gz (1.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... 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-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c /tmp/pip-install-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c/.mesonpy-5qq4xy82 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md -Dtests=false -Dwheel=true --wrap-mode=nofallback --native-file=/tmp/pip-install-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c/.mesonpy-5qq4xy82/meson-python-native-file.ini
      The Meson build system
      Version: 1.6.1
      Source dir: /tmp/pip-install-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c
      Build dir: /tmp/pip-install-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c/.mesonpy-5qq4xy82
      Build type: native build
      Project name: pygobject
      Project version: 3.50.0
      C compiler for the host machine: cc (gcc 14.2.1 "cc (SUSE Linux) 14.2.1 20241007 [revision 4af44f2cf7d281f3e4f3957efce10e8b2ccb2ad3]")
      C linker for the host machine: cc ld.bfd 2.43.1.20241209-4
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python3 found: YES (/opt/auto-cpufreq/venv/bin/python)
      Found pkg-config: YES (/usr/bin/pkg-config) 2.2.0
      Run-time dependency python found: YES 3.11
      Found CMake: /usr/bin/cmake (3.31.2)
      Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig and cmake)
      Not looking for a fallback subproject for the dependency gobject-introspection-1.0 because:
      Use of fallback dependencies is disabled.
      
      ../meson.build:31:9: ERROR: Dependency 'gobject-introspection-1.0' is required but not found.
      
      A full log can be found at /tmp/pip-install-88ufeouy/pygobject_a90632ecf88844e499fd61914e56840c/.mesonpy-5qq4xy82/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.

────────────────── auto-cpufreq tool successfully installed ──────────────────

For list of options, run:
auto-cpufreq --help

auto-cpufreq
/opt/auto-cpufreq/venv/bin/python: can't open file '/opt/auto-cpufreq/venv/bin/auto-cpufreq': [Errno 2] No such file or directory


System information:

image

/opt/auto-cpufreq/venv/bin/python: can't open file '/opt/auto-cpufreq/venv/bin/auto-cpufreq': [Errno 2] No such file or directory

Also please be descriptive about the issue you're reporting, i.e: what you tried & what's the expected behaviour.

Expected it to be installed, not installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions