Open squelch41 opened 3 years ago
I know this was posted awhile ago but if anybody else is having more trouble than it's worth installing through pip, I just released a docker based solution which should make the whole process much easier.
See: https://github.com/Duroktar/YuleLog/releases/tag/0.0.3-docker
it still fails for me on raspbian - fails installing pillow Building wheels for collected packages: Pillow, pyfiglet, future Building wheel for Pillow (setup.py): started Building wheel for Pillow (setup.py): finished with status 'error' ERROR: Command errored out with exit status 1: command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-57e0gur7/pillow_b0bab44c83674ce3b8b6913e5759dff1/setup.py'"'"'; file='"'"'/tmp/pip-install-57e0gur7/pillow_b0bab44c83674ce3b8b6913e5759dff1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mc1p050z cwd: /tmp/pip-install-57e0gur7/pillow_b0bab44c83674ce3b8b6913e5759dff1/
Solved it by manually running the installs in the docker file--
Ran: sudo apt-get install zlib1g-dev libjpeg-dev gcc pip3 install Pillow==3.4.2 pip3 install YuleLog
Then, it will run if run as python3 -m yule_log
but not with python -m yule_log or if so YuleLog
When I try to install using either pip or pip2 on a raspberry pi, I get the following error:
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-uV2ej4/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-ncoMLb/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-uV2ej4/Pillow/