Yin-Yang icon indicating copy to clipboard operation
Yin-Yang copied to clipboard

Can't install: `Building wheel for systemd-python (pyproject.toml) did not run successfully.`

Open RokeJulianLockhart opened this issue 1 year ago • 11 comments

Describe the bug

Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      [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.

Affected versions

Question Information
Yin-Yang version https://github.com/oskarsh/Yin-Yang/commit/dfc7e850f6f05658bda10c33d9a7d77264a26557 and https://github.com/oskarsh/Yin-Yang/pull/206/commits/eddc3dcd40bea1bd38f0383d310f0391463f87c6
Relevant application version How is this different to the previous question?
Python version 3.11.3
Qt version 5.15.9

Additional notes

Tried https://github.com/oskarsh/Yin-Yang/issues/203#issuecomment-1565329482 to no avail:

(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3
Python 3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/.venv/bin/python3
>>> print(sys.version)
3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ]
>>> exit()
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python311-devel-3.11.3-1.2.x86_64 (Main Repository (OSS))                                   (1/1), 362.6 KiB    
Retrieving: python311-devel-3.11.3-1.2.x86_64.rpm ........................................................[done (1.6 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python311-devel-3.11.3-1.2.x86_64 ..................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.89 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      [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.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ./scripts/install.shexit^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> sudo zypper install gcc
[sudo] password for root: 
Loading repository data...
Reading installed packages...
'gcc' is already installed.
No update candidate for 'gcc-13-1.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang>
PS /home/rokejulianlockhart> sudo zypper install systemd-devel                                                              
[sudo] password for root:                                                  
Retrieving repository 'KDE:Unstable:Qt' metadata .....................................................................[done]
Building repository 'KDE:Unstable:Qt' cache ..........................................................................[done]
Retrieving repository 'Main Repository (DEBUG)' metadata .............................................................[done]
Building repository 'Main Repository (DEBUG)' cache ..................................................................[done]
Retrieving repository 'Main Repository (Sources)' metadata ...........................................................[done]
Building repository 'Main Repository (Sources)' cache ................................................................[done]
Retrieving repository 'home:ecsos' metadata ..........................................................................[done]
Building repository 'home:ecsos' cache ...............................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  systemd-devel

1 new package to install.
Overall download size: 530.3 KiB. Already cached: 0 B. After the operation, additional 500.7 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: systemd-devel-253.4-2.1.x86_64 (Main Repository (OSS))                                      (1/1), 530.3 KiB    
Retrieving: systemd-devel-253.4-2.1.x86_64.rpm ...........................................................[done (2.1 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: systemd-devel-253.4-2.1.x86_64 .....................................................................[done]
PS /home/rokejulianlockhart> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 7.09 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
PS /home/rokejulianlockhart/Yin-Yang> ## Create virtual environment for pypi packages
PS /home/rokejulianlockhart/Yin-Yang> python3 -m venv .venv
PS /home/rokejulianlockhart/Yin-Yang> source .venv/bin/activate
source: The term 'source' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS /home/rokejulianlockhart/Yin-Yang> # Install pip requirements
PS /home/rokejulianlockhart/Yin-Yang> pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy==1.23.5 (from -r requirements.txt (line 1))
  Downloading numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 7.3 MB/s eta 0:00:00
Collecting psutil==5.9.4 (from -r requirements.txt (line 2))
  Downloading psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 kB 6.3 MB/s eta 0:00:00
Collecting PySide6==6.4.1 (from -r requirements.txt (line 3))
  Downloading PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1 (from -r requirements.txt (line 4))
  Downloading PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.6/114.6 MB 5.2 MB/s eta 0:00:00
Collecting PySide6-Essentials==6.4.1 (from -r requirements.txt (line 5))
  Downloading PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.7/81.7 MB 6.9 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil==2.8.2 in /home/rokejulianlockhart/.local/lib/python3.10/site-packages (from -r requirements.txt (line 6)) (2.8.2)
Collecting shiboken6==6.4.1 (from -r requirements.txt (line 7))
  Downloading shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 168.6/168.6 kB 6.1 MB/s eta 0:00:00
Requirement already satisfied: six==1.16.0 in /usr/lib/python3.10/site-packages (from -r requirements.txt (line 8)) (1.16.0)
Collecting suntime==1.2.5 (from -r requirements.txt (line 9))
  Downloading suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234 (from -r requirements.txt (line 10))
  Downloading systemd-python-234.tar.gz (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.6/53.6 kB 3.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: systemd-python
  Building wheel for systemd-python (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for systemd-python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      systemd/_journal.c:21:10: fatal error: Python.h: No such file or directory
         21 | #include <Python.h>
            |          ^~~~~~~~~~
      compilation terminated.
      error: command '/usr/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
Failed to build systemd-python
ERROR: Could not build wheels for systemd-python, which is required to install pyproject.toml-based projects
PS /home/rokejulianlockhart/Yin-Yang> # Install Yin-Yang
PS /home/rokejulianlockhart/Yin-Yang> ./scripts/install.sh^C
PS /home/rokejulianlockhart/Yin-Yang> deactivate                                                              
deactivate: The term 'deactivate' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS /home/rokejulianlockhart/Yin-Yang> cd ..              
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
fatal: destination path 'Yin-Yang' already exists and is not an empty directory.
rokejulianlockhart@RQN6C6:~> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~> python3 -m venv .venv
tivate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shrokejulianlockhart@RQN6C6:~> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~> pip3 install -r requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

[notice] A new release of pip is available: 23.0.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~> ./scripts/install.sh^C
(.venv) rokejulianlockhart@RQN6C6:~> deactivate
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
fatal: destination path 'Yin-Yang' already exists and is not an empty directory.
rokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 6.94 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> pwd
/home/rokejulianlockhart/Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang> if pwd != "Yin-Yang"; then
> cd Yin-Yang
> fi
/home/rokejulianlockhart/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd ..
rokejulianlockhart@RQN6C6:~> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart
rokejulianlockhart@RQN6C6:~/Yin-Yang> cd ..
rokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> deactivate
tea: command not found: deactivate
rokejulianlockhart@RQN6C6:~> exit
exit
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> bash
oskarsh/Yin-Yang && cd Yin-Yang
if pwd != "Yin-Yang"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shrokejulianlockhart@RQN6C6:~> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
remote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (759/759), done.
remote: Total 3259 (delta 1587), reused 1933 (delta 1451), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 7.05 MiB/s, done.
Resolving deltas: 100% (2087/2087), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Downloading numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 7.3 MB/s eta 0:00:00
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      [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.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> ./scripts/install.sh^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> pip install --upgrade pip^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang> pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3.10/site-packages (23.1.2)
rokejulianlockhart@RQN6C6:~/Yin-Yang> sudo zypper install python3-devel
[sudo] password for root: 
Retrieving repository 'KDE:Unstable:Applications' metadata ...........................................................[done]
Building repository 'KDE:Unstable:Applications' cache ................................................................[done]
Loading repository data...
Reading installed packages...
'python3-devel' not found in package names. Trying capabilities.
Resolving package dependencies...

The following NEW package is going to be installed:
  python310-devel

1 new package to install.
Overall download size: 331.8 KiB. Already cached: 0 B. After the operation, additional 937.8 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python310-devel-3.10.11-1.2.x86_64 (Main Repository (OSS))                                  (1/1), 331.8 KiB    
Retrieving: python310-devel-3.10.11-1.2.x86_64.rpm .......................................................[done (3.9 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python310-devel-3.10.11-1.2.x86_64 .................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): n
rokejulianlockhart@RQN6C6:~/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (760/760), done.
Receiving objects:  10% (326/3259)
remote: Total 3259 (delta 1587), reused 1933 (delta 1450), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.52 MiB/s, done.
Resolving deltas: 100% (2087/2087), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      [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.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> ./scripts/install.sh
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/bash)
/bin/bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> python3
Python 3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print(sys.executable)
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/.venv/bin/python3
>>> print(sys.version)
3.11.3 (main, Apr  5 2023, 11:23:47) [Clang 14.0.6 ]
>>> exit()
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> sudo zypper install python311-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  python311-devel

1 new package to install.
Overall download size: 362.6 KiB. Already cached: 0 B. After the operation, additional 1.1 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving: python311-devel-3.11.3-1.2.x86_64 (Main Repository (OSS))                                   (1/1), 362.6 KiB    
Retrieving: python311-devel-3.11.3-1.2.x86_64.rpm ........................................................[done (1.6 MiB/s)]

Checking for file conflicts: .........................................................................................[done]
(1/1) Installing: python311-devel-3.11.3-1.2.x86_64 ..................................................................[done]
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> bash
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by bash)
bash: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> rm -rf Yin-Yang
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang> git clone https://github.com/oskarsh/Yin-Yang && cd Yin-Yang
Cloning into 'Yin-Yang'...
g"; then cd Yin-Yang; fi
## Create virtual environment for pypi packages
python3 -m venv .venv
source .venv/bin/activate
# Install pip requirements
pip3 install -r requirements.txt
# Install Yin-Yang
./scripts/install.shremote: Enumerating objects: 3259, done.
remote: Counting objects: 100% (2233/2233), done.
remote: Compressing objects: 100% (764/764), done.
remote: Total 3259 (delta 1585), reused 1929 (delta 1446), pack-reused 1026
Receiving objects: 100% (3259/3259), 24.14 MiB | 5.89 MiB/s, done.
Resolving deltas: 100% (2085/2085), done.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> if pwd != "Yin-Yang"; then cd Yin-Yang; fi
/home/rokejulianlockhart/Yin-Yang/Yin-Yang/Yin-Yang
bash: cd: Yin-Yang: No such file or directory
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ## Create virtual environment for pypi packages
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> python3 -m venv .venv
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> source .venv/bin/activate
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install pip requirements
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> pip3 install -r requirements.txt
Collecting numpy==1.23.5
  Using cached numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting psutil==5.9.4
  Using cached psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
Collecting PySide6==6.4.1
  Using cached PySide6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (6.9 kB)
Collecting PySide6-Addons==6.4.1
  Using cached PySide6_Addons-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (114.6 MB)
Collecting PySide6-Essentials==6.4.1
  Using cached PySide6_Essentials-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (81.7 MB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting shiboken6==6.4.1
  Using cached shiboken6-6.4.1-cp37-abi3-manylinux_2_28_x86_64.whl (168 kB)
Collecting six==1.16.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting suntime==1.2.5
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==234
  Using cached systemd-python-234.tar.gz (53 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 127
  ╰─> [14 lines of output]
      Cannot find libsystemd or libsystemd-journal:
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: no version information available (required by /bin/sh)
      /bin/sh: symbol lookup error: /home/rokejulianlockhart/.tea/gnu.org/readline/v8.2.0/lib/libreadline.so.8: undefined symbol: PC
      
      [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.

[notice] A new release of pip available: 22.3.1 -> 23.1.2
[notice] To update, run: pip install --upgrade pip
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> # Install Yin-Yang
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> ./scripts/install.shexit^C
(.venv) rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> deactivate
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang> sudo zypper install gcc
[sudo] password for root: 
Loading repository data...
Reading installed packages...
'gcc' is already installed.
No update candidate for 'gcc-13-1.2.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
rokejulianlockhart@RQN6C6:~/Yin-Yang/Yin-Yang/Yin-Yang>

RokeJulianLockhart avatar Jun 09 '23 16:06 RokeJulianLockhart

You need to install developer dependencies for systemd for the python package to find the lib. Should be systemd-dev or something similar, depending on your distro.

l0drex avatar Jun 09 '23 17:06 l0drex

https://github.com/oskarsh/Yin-Yang/issues/207#issuecomment-1584912375

@l0drex:

  1. zypper search systemd-dev
    
  2. PS /home/rokejulianlockhart> zypper search systemd-dev 
    Loading repository data...
    Reading installed packages...
    
    S  | Name          | Summary                                      | Type
    ---+---------------+----------------------------------------------+--------
    i+ | systemd-devel | Development files for libsystemd and libudev | package
    PS /home/rokejulianlockhart>
    

Is there a specific file that the package you refer to contains, so that I can probe (zypper se --provides) https://build.opensuse.org/project/show/openSUSE:Factory for it?

RokeJulianLockhart avatar Jun 09 '23 21:06 RokeJulianLockhart

The dependency that requires this is systemd-python, maybe this helps you: https://pypi.org/project/systemd/

l0drex avatar Jun 09 '23 22:06 l0drex

The dependency that requires this is systemd-python, maybe this helps you: pypi.org/project/systemd

@l0drex, does that answer the undermentioned:

Is there a specific file that the package you refer to contains, so that I can probe (zypper se --provides)

...?

Irrespective, it's installed anyway:

  1. pip install systemd-python
    
  2. rokejulianlockhart@RQN6C6:~> pip install systemd-python
    Defaulting to user installation because normal site-packages is not writeable
    Requirement already satisfied: systemd-python in /usr/lib64/python3.10/site-packages (235)
    rokejulianlockhart@RQN6C6:~>
    

RokeJulianLockhart avatar Jun 09 '23 22:06 RokeJulianLockhart

I don't know any specific file, but there might be more details on the linked page that can help you to find the correct package

l0drex avatar Jun 10 '23 05:06 l0drex

Are there any updates on this? I've got the same issue, also on openSUSE with systemd-devel intstalled.

fwinn avatar Nov 12 '23 15:11 fwinn

I have a similar build failure, but it's apparently for a missing Python.h.

Happens at Building wheel for systemd-python (setup.py) ... error. What is this (setup.py)?

systemd-devel is installed. A package systemd-python can't be found in the repos.

Observed on SUSE Tumbleweed.

# ......./Yin-Yang/scripts/install.sh 
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
  Using cached 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
  Using cached 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
  Using cached wheel-0.41.3-py3-none-any.whl.metadata (2.2 kB)
Using cached setuptools-68.2.2-py3-none-any.whl (807 kB)
Using cached pip-23.3.1-py3-none-any.whl (2.1 MB)
Using cached wheel-0.41.3-py3-none-any.whl (65 kB)
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))
  Using cached 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))
  Using cached 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))
  Using cached 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))
  Using cached suntime-1.2.5-py3-none-any.whl (7.2 kB)
Collecting systemd-python==235 (from -r requirements.txt (line 5))
  Using cached systemd-python-235.tar.gz (61 kB)
  Preparing metadata (setup.py) ... done
Collecting requests~=2.31.0 (from -r requirements.txt (line 6))
  Using cached 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))
  Using cached 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))
  Using cached 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))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting charset-normalizer<4,>=2 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached 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))
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting urllib3<3,>=1.21.1 (from requests~=2.31.0->-r requirements.txt (line 6))
  Using cached 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))
  Using cached 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))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Using cached 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)
Using cached PySide6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (6.7 kB)
Using cached PySide6_Addons-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (125.2 MB)
Using cached PySide6_Essentials-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (82.1 MB)
Using cached shiboken6-6.6.0-cp38-abi3-manylinux_2_28_x86_64.whl (169 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (140 kB)
Using cached urllib3-2.1.0-py3-none-any.whl (104 kB)
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>
            |          ^~~~~~~~~~

noyannus avatar Nov 18 '23 00:11 noyannus

Looks like you are missing python-dev

l0drex avatar Nov 18 '23 21:11 l0drex

I'm lost. All python versions have their -devel here (i = installed). Does Y&Y require a specific python version maybe?

localhost% zypper search '/^python[0-9_-]*(-dev(el.*)?*)?$/'    
Loading repository data...
Reading installed packages...

S  | Name            | Summary                                                           | Type
---+-----------------+-------------------------------------------------------------------+--------
i  | python          | Python Interpreter                                                | package
i+ | python-devel    | Include Files and Libraries Mandatory for Building Python Modules | package
   | python38        | Python 3 Interpreter                                              | package
   | python38-devel  | Include Files and Libraries Mandatory for Building Python Modules | package
   | python39        | Python 3 Interpreter                                              | package
   | python39-devel  | Include Files and Libraries Mandatory for Building Python Modules | package
i  | python310       | Python 3 Interpreter                                              | package
i+ | python310-devel | Include Files and Libraries Mandatory for Building Python Modules | package
i  | python311       | Python 3 Interpreter                                              | package
i  | python311-devel | Include Files and Libraries Mandatory for Building Python Modules | package
   | python312       | Python 3 Interpreter                                              | package
   | python312-devel | Include Files and Libraries Mandatory for Building Python Modules | package

noyannus avatar Nov 19 '23 17:11 noyannus

From duckduckgo I can find this package: https://opensuse.pkgs.org/tumbleweed/opensuse-oss-x86_64/python39-systemd-235-3.3.x86_64.rpm.html

Can you install that and try again?

l0drex avatar Nov 19 '23 19:11 l0drex

Installed python310-systemd and pyton311-systemd instead (didn't want to install yet another python version) -- installation completed. Thank you.

Maybe add the python-systemd to the required dependencies?

noyannus avatar Nov 20 '23 00:11 noyannus