Open FranzGotsis opened 2 years ago
This does not seem to be related to brother_ql, which does not pin the Pillow
package to an upper version, as this should not be required.
According to the log, pip seems to attempt to install Pillow from source as the wheel package (which is optional, but usually recommended) is missing from your system. To be able to do this, you have to meet the requirements from there, see https://pillow.readthedocs.io/en/stable/installation.html#building-from-source. Alternatively, after installing the wheel package you should be able to install the pre-built Pillow wheels for your system instead.
pip install --upgrade https://github.com/pklaus/brother_ql/archive/master.zi fails at the point Installing collected packages: pillow, pyusb, brother-ql Running setup.py install for pillow ... error
a bigger part of the installation log:
Defaulting to user installation because normal site-packages is not writeable Collecting https://github.com/pklaus/brother_ql/archive/master.zip Using cached https://github.com/pklaus/brother_ql/archive/master.zip Requirement already satisfied, skipping upgrade: attrs in /home/franz/.local/lib/python3.10/site-packages (from brother-ql==0.9.dev0) (22.1.0) Requirement already satisfied, skipping upgrade: click in /home/franz/.local/lib/python3.10/site-packages (from brother-ql==0.9.dev0) (8.1.3) Requirement already satisfied, skipping upgrade: future in /home/franz/.local/lib/python3.10/site-packages (from brother-ql==0.9.dev0) (0.18.2) Requirement already satisfied, skipping upgrade: packbits in /home/franz/.local/lib/python3.10/site-packages (from brother-ql==0.9.dev0) (0.6) Collecting pillow>=3.3.0 Using cached Pillow-9.2.0.tar.gz (50.0 MB) Collecting pyusb Using cached pyusb-1.2.1-py3-none-any.whl (58 kB) Using legacy 'setup.py install' for brother-ql, since package 'wheel' is not installed. Using legacy 'setup.py install' for pillow, since package 'wheel' is not installed. Installing collected packages: pillow, pyusb, brother-ql Running setup.py install for pillow ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3.10 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-9fw8io6g/pillow/setup.py'"'"'; file='"'"'/tmp/pip-install-9fw8io6g/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-_1ee_vcb/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/franz/.local/include/python3.10/pillow cwd: /tmp/pip-install-9fw8io6g/pillow/
complete log installation-log-brother_ql.txt