New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zlib not found on Synology #4525
Comments
Googling, I think that the Synology DSM is closest to Debian, so you may want to run |
Thanks, but "apt" is not available in Synology OS. |
Synology DSM does not ship with a package manager (except for the web interface, used to install preconfigured services). It looks like you already have optware, which installs the package manager My understanding is that the pre-built wheels are not used due to the system cpu (check |
The problem I have is not related to Synology. I have seen several issues on the internet with the same error related to python and this package. I have another synology unit running an older version of python and Flexget. |
I'm not following your line of thinking. zlib is a requirement of Pillow - https://pillow.readthedocs.io/en/stable/installation.html. It needs to be installed prior to using Pillow. If you're seeing "The headers or library files could not be found for zlib" problems on the Internet, it is most likely because those people need to install the zlib dependency, just like you do. If you think that there are genuine problems out there, feel free to link to those, so that we can be aware of the situation. I wouldn't say that having a dependency is a bug. As for instructions on how to install zlib though, since you're not using one of the more popular operating systems, you need instructions specific to your operating system, Synology. |
I heard Synology is based on some heavy-modified debian. In case it's hard to collect dependencies, running in a docker container might be a way to go. |
https://superuser.com/questions/991036/python-pillow-install-fails-despite-required-library-being-available agrees that ipkg is a solution here. Given that a solution has been posted earlier, and the discussion has not continued, closing. |
Installing FLEXGET on a synology NAS using Python 3.6.
Pillow seems to be one of the packages Python tries to install. No matter what I try, which version of python or pip etc i try, Pillow install always fails with the below error.
ERROR: Command errored out with exit status 1: /opt/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qu4hu_jm/pillow/set up.py'"'"'; file='"'"'/tmp/pip-install-qu4hu_jm/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-p7z2vm3u/install-record.txt --single-version-external ly-managed --compile --install-headers /opt/include/python3.6/pillow Check the logs for full command output.
The text was updated successfully, but these errors were encountered: