Install dependencies:
apt install libjpeg-turbo libjpeg-turbo-progs
apt install ndk-sysroot --> 180 MB
apt install python clang fftw libcrypt libzmq
apt install freetype libpng pkg-config
pip install wheel
pip install pillow
You might need to upgrade pip first, then do the following step:
pip install --upgrade pip
If there's a build error, we can try the following also:
LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install wheel
LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install pillow
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment