Closed fighuass closed 10 months ago
Looks like something is wrong with your environment, try updating your system packages/pip if they're not up-to-date, see: https://pillow.readthedocs.io/en/latest/installation.html Also, I would recommend to use pipx instead of pip https://github.com/pypa/pipx#how-is-it-different-from-pip
That's kinda odd, as I actually did a clean reinstall of the entire OS today. I also made sure to update Pip.
Through pipx I get a different error:
Fatal error from pip prevented installation. Full pip output in file:
/home/user/.local/state/pipx/log/cmd_2024-01-08_22.47.27_pip_errors.log
pip seemed to fail to build package:
dbus-python>=1.3.2
Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
../meson.build:4:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'"
Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
error: metadata-generation-failed
Error installing kde-material-you-colors.
That's kinda odd, as I actually did a clean reinstall of the entire OS today. I also made sure to update Pip.
Through pipx I get a different error:
Fatal error from pip prevented installation. Full pip output in file: /home/user/.local/state/pipx/log/cmd_2024-01-08_22.47.27_pip_errors.log pip seemed to fail to build package: dbus-python>=1.3.2 Some possibly relevant errors from pip install: error: subprocess-exited-with-error ../meson.build:4:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']] Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'" Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'" Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'" Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'" Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'" Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'" Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'" error: metadata-generation-failed Error installing kde-material-you-colors.
Install the dependencies (fedora packages) requested, gcc and for Pillow you need other dependencies which are listed in the installation guide I linked
Hm, I tried doing that but dbus-python seems to error with ERROR: Python dependency not found
after installing all other dependencies.
Hm, I tried doing that but dbus-python seems to error with
ERROR: Python dependency not found
after installing all other dependencies.
Had the same issue on fedora, it was missing the following deps on my system.
dbus-devel libjpeg-devel
These can be install from dnf.
Odd, still same issue.
Tried Fedora KDE live in a VM and those are the packages I had to install:
pipx gcc dbus-devel glib2-devel python3-devel
For pillow (Pillow docs)
libtiff-devel libjpeg-devel openjpeg2-devel zlib-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel harfbuzz-devel fribidi-devel libraqm-devel libimagequant-devel libxcb-devel
Finally pipx install kde-material-you-colors
should work
I hate to keep bothering you, but this also throws up an error.
Some possibly relevant errors from pip install:
ERROR: Could not find a version that satisfies the requirement python3-devel (from versions: none)
ERROR: No matching distribution found for python3-devel
I keep getting this, but with all of those packages. gcc, dbus-devel, python3-devel, etc.
I hate to keep bothering you, but this also throws up an error.
Some possibly relevant errors from pip install: ERROR: Could not find a version that satisfies the requirement python3-devel (from versions: none) ERROR: No matching distribution found for python3-devel
I keep getting this, but with all of those packages. gcc, dbus-devel, python3-devel, etc.
Hmm I am not sure what's going on here, are you using pip or pipx? please show the full command you are using to install kde-material-you-colors and the packages from my previous comment, (sould've been dnf install pipx gcc dbus-devel glib2-devel python3-devel libtiff-devel libjpeg-devel openjpeg2-devel zlib-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel harfbuzz-devel fribidi-devel libraqm-devel libimagequant-devel libxcb-devel
)
Hmm I might've done something wrong before then, I ran the dnf command you listed just now and then the pipx install worked afterwards. Thanks!
Describe the bug The install fails when trying to install kde-material-you-colors through Pip.
To Reproduce Steps to reproduce the behavior:
pip install kde-material-you-colors
.Building wheel for Pillow (pyproject.toml) ... error
.Expected behavior A working install.
Desktop (please complete the following information):
Additional context The error: