rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.1k stars 326 forks source link

Termux problem installing #529

Open uzi98f opened 1 month ago

uzi98f commented 1 month ago

Describe the bug

Problems installing in Termux

linux-aarch64-cpython-311/src/libImaging/SgiRleDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/Storage.o build/temp.linux-aarch64-cpython-311/src/libImaging/SunRleDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/TgaRleDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/TgaRleEncode.o build/temp.linux-aarch64-cpython-311/src/libImaging/TiffDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/Unpack.o build/temp.linux-aarch64-cpython-311/src/libImaging/UnpackYCC.o build/temp.linux-aarch64-cpython-311/src/libImaging/UnsharpMask.o build/temp.linux-aarch64-cpython-311/src/libImaging/XbmDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/XbmEncode.o build/temp.linux-aarch64-cpython-311/src/libImaging/ZipDecode.o build/temp.linux-aarch64-cpython-311/src/libImaging/ZipEncode.o build/temp.linux-aarch64-cpython-311/src/libImaging/codec_fd.o build/temp.linux-aarch64-cpython-311/src/map.o build/temp.linux-aarch64-cpython-311/src/outline.o build/temp.linux-aarch64-cpython-311/src/path.o -L/data/data/com.termux/files/usr/lib -L/system/lib64 -L/data/data/com.termux/files/usr/lib -ljpeg -lz -lpython3.11 -o build/lib.linux-aarch64-cpython-311/PIL/_imaging.cpython-311.so aarch64-linux-android-clang: error: unknown argument: '-fno-openmp-implicit-rpath' aarch64-linux-android-clang: error: unknown argument: '-fno-openmp-implicit-rpath' error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang' failed with exit code 1 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pillow Failed to build pillow ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects

Steps to reproduce

android 12 / CPU MTK helio G25 / TCL 408 version UI v4.0.VK3E / Model T507J

python version 3.11.9

1.- Download Termux

2.- "yes to all" $ pkg update -y

3.- $ pkg upgrade -y

3.- "yes to all" $ pkg install python

4.-"yes to all" $ pkg install git

5.- "yes to all" $ pkg install rust libjpeg-turbo libcrypt ndk-sysroot clang zlib binutils tur-repo

LDFLAGS="-L${PREFIX}/lib/" CFLAGS="-I${PREFIX}/include/" pip install --upgrade wheel pillow

I GET THIS ERROR in step 5

Expected behavior

solve the problem with the installing of pillow

Operating system

Termux

Python version

3.11.9

Miner version

1.9.5

Other relevant software versions

android 12 / CPU MTK helio G25 / TCL 408 version UI v4.0.VK3E / Model T507J

Logs

da adadas

Additional context

No response

massayukinho commented 1 month ago

Had a very similar problem. Try using this, it worked for me.

Do it at your own risk though, I am far from being an experienced programmer/user.

uzi98f commented 1 month ago

@massayukinho thankyou massayukinho for your reply, I already tried to to that and search in videos and foroums how to change the lib of python, but Im new in the topic of python and termux so I dont know how to do that, can you give me a hand and upload a video so I can fix that? thankyou

Vojtak42 commented 3 weeks ago

@uzi98f Run it with export LDFLAGS="-L/system/lib64" Here is official wiki link. I wasn't testing the guide in while, maybe I should.

Vojtak42 commented 2 weeks ago

@uzi98f I've just installed it step by step by the readme.md successfully. Tested on Mi 9 and Asus ZE520kl.