Closed Koli96 closed 3 years ago
Hi. The same error is reported over at https://github.com/termux/termux-packages/issues/7861. There is actually a pending PR for this in our repository - https://github.com/python-pillow/Pillow/pull/5793
Possible solutions
From https://github.com/termux/termux-packages/issues/7861#issuecomment-954510625 1.
LDFLAGS="-L/system/lib64/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow
From https://github.com/termux/termux-packages/issues/7788#issuecomment-950316955 2.
python -m pip install git+https://github.com/landfillbaby/Pillow.git@patch-2
Hi. It gets installed by this method. From https://github.com/termux/termux-packages/issues/7861#issuecomment-955132948
But Pillow package can't be detected & doesn't work.
Shows error : "Please install Pillow to properly handle images"
Hi @r0xtar. I think you've solved your Android-specific problem, and have moved on to another problem.
What shows you the error "Please install Pillow to properly handle images"? Is it possible that you have multiple versions of Pillow installed, and pip
is connected to one version, and then you run a different version of Python and get this other error?
Hi. While IANAL, my simplistic understanding is that ripping music is illegal, so I will not be providing help to you any further. Others may feel differently, but that is my stance.
It's only for learning purpose, but this is a issue for termux users. You should help in fixing that.
@radarhere thank you so much!
LDFLAGS="-L/system/lib64/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow
This command helped and Pillow
has been installed!
What did you do?
I'm trying to install
Pillow
on Android (termux)What are your OS, Python and Pillow versions?
I was trying many tricky ways but none has helped actually (e.g
)
Installation log:
I'm getting crazy about this 😶Thank you for your time
EDIT I was trying also Python 3.10 and lastest version of Pillow, but with the same result.