Yin-Yang wont install

So I kind of gave up on trying to build my own theme changer and decided to use Yin-Yang, but this happened (scroll to bottom)

_40476@localhost:~/APPS> git clone https://github.com/oskarsh/Yin-Yang.git
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3403, done.
remote: Counting objects: 100% (1247/1247), done.
remote: Compressing objects: 100% (336/336), done.
remote: Total 3403 (delta 1003), reused 967 (delta 911), pack-reused 2156
Receiving objects: 100% (3403/3403), 24.13 MiB | 349.00 KiB/s, done.
Resolving deltas: 100% (2200/2200), done.
_40476@localhost:~/APPS> cd Yin-Yang
_40476@localhost:~/APPS/Yin-Yang> ./scripts/install.sh
enter password in order to install Yin-Yang correctly
[sudo] password for root: 
Uninstalling old version, if it exists
Removing config and .desktop file
Removing program and terminal execution
Removing manifest
Removing systemd units
Yin-Yang uninstalled succesfully
have a nice day ...
Installing dependencies …
Requirement already satisfied: setuptools in /opt/yin-yang/.venv/lib64/python3.11/site-packages (65.5.0)
Collecting setuptools
  Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata
  Downloading setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: pip in /opt/yin-yang/.venv/lib64/python3.11/site-packages (23.2.1)
Collecting pip
  Obtaining dependency information for pip from https://files.pythonhosted.org/packages/47/6a/453160888fab7c6a432a6e25f8afe6256d0d9f2cbd25971021da6491d899/pip-23.3.1-py3-none-any.whl.metadata
  Downloading pip-23.3.1-py3-none-any.whl.metadata (3.5 kB)
Collecting wheel
  Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/fa/7f/4c07234086edbce4a0a446209dc0cb08a19bb206a3ea53b2f56a403f983b/wheel-0.41.3-py3-none-any.whl.metadata
  Downloading wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
Downloading setuptools-68.2.2-py3-none-any.whl (807 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 807.9/807.9 kB 2.3 MB/s eta 0:00:00
Downloading pip-23.3.1-py3-none-any.whl (2.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 2.0 MB/s eta 0:00:00
Downloading wheel-0.41.3-py3-none-any.whl (65 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 1.4 MB/s eta 0:00:00
Installing collected packages: wheel, setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 65.5.0
    Uninstalling setuptools-65.5.0:
      Successfully uninstalled setuptools-65.5.0
  Attempting uninstall: pip
    Found existing installation: pip 23.2.1
    Uninstalling pip-23.2.1:
      Successfully uninstalled pip-23.2.1
Successfully installed pip-23.3.1 setuptools-68.2.2 wheel-0.41.3
Collecting psutil==5.9.6 (from -r requirements.txt (line 1))
  Downloading psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB)
Collecting PySide6==6.6.0 (from -r requirements.txt (line 2))
  Downloading PySide6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (5.1 kB)
Collecting PySide6-Addons==6.6.0 (from -r requirements.txt (line 3))
  Downloading PySide6_Addons-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (3.7 kB)
Collecting suntime==1.2.5 (from -r requirements.txt (line 4))
  Downloading suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==235 (from -r requirements.txt (line 5))
  Downloading systemd-python-235.tar.gz (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 kB 811.1 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting requests~=2.31.0 (from -r requirements.txt (line 6))
  Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting shiboken6==6.6.0 (from PySide6==6.6.0->-r requirements.txt (line 2))
  Downloading shiboken6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (2.3 kB)
Collecting PySide6-Essentials==6.6.0 (from PySide6==6.6.0->-r requirements.txt (line 2))
  Downloading PySide6_Essentials-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl.metadata (3.5 kB)
Collecting python-dateutil (from suntime==1.2.5->-r requirements.txt (line 4))
  Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 661.6 kB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests~=2.31.0->-r requirements.txt (line 6))
  Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests~=2.31.0->-r requirements.txt (line 6))
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 579.2 kB/s eta 0:00:00
Collecting urllib3<3,>=1.21.1 (from requests~=2.31.0->-r requirements.txt (line 6))
  Downloading urllib3-2.1.0-py3-none-any.whl.metadata (6.4 kB)
Collecting certifi>=2017.4.17 (from requests~=2.31.0->-r requirements.txt (line 6))
  Downloading certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting six>=1.5 (from python-dateutil->suntime==1.2.5->-r requirements.txt (line 4))
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading psutil-5.9.6-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (283 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.6/283.6 kB 653.8 kB/s eta 0:00:00
Downloading PySide6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (6.7 kB)
Downloading PySide6_Addons-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (125.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.2/125.2 MB 1.4 MB/s eta 0:00:00
Downloading PySide6_Essentials-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (82.1 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.1/82.1 MB 1.5 MB/s eta 0:00:00
Downloading shiboken6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (169 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 169.3/169.3 kB 3.5 MB/s eta 0:00:00
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 3.1 MB/s eta 0:00:00
Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 3.8 MB/s eta 0:00:00
Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.3/140.3 kB 3.6 MB/s eta 0:00:00
Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.6/104.6 kB 1.8 MB/s eta 0:00:00
Building wheels for collected packages: systemd-python
  Building wheel for systemd-python (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/__init__.py -> build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/journal.py -> build/lib.linux-x86_64-cpython-311/systemd
      copying systemd/daemon.py -> build/lib.linux-x86_64-cpython-311/systemd
      creating build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_daemon.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_journal.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_login.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      copying systemd/test/test_id128.py -> build/lib.linux-x86_64-cpython-311/systemd/test
      running build_ext
      building 'systemd/_journal' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/systemd
      gcc -Wsign-compare -DNDEBUG -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -fPIC -DPACKAGE_VERSION=\"235\" -DLIBSYSTEMD_VERSION=254 -I/opt/yin-yang/.venv/include -I/usr/include/python3.11 -c systemd/_journal.c -o build/temp.linux-x86_64-cpython-311/systemd/_journal.o -std=c99 -Werror=implicit-function-declaration
      systemd/_journal.c:21:10: fatal error: Python.h: No such file or directory
         21 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for systemd-python
  Running setup.py clean for systemd-python
Failed to build systemd-python
ERROR: Could not build wheels for systemd-python, which is required to install pyproject.toml-based projects
_40476@localhost:~/APPS/Yin-Yang> 

@40476 Did you install python311-devel?

I just did (it works now, thank you!)

1 Like