Tkd-Alex/Twitch-Channel-Points-Miner-v2

Mobile version

MelovZaebl opened this issue ยท 28 comments

Add termux version or documentation how to use it with termux.

Script can 24/7 work on ur phone.

Not sure if this will work, but try #76 (comment) and let me know if this will work. If it doesn't, I will try and help you asap.

i will never understand why to run python scripts on mobile ๐Ÿคทโ€โ™‚๏ธ

btw if the solution on #76 work I'll write on README

@MelovZaebl for the next time please check if there are other similar issues open before open a new one.

Not sure if this will work, but try #76 (comment) and let me know if this will work. If it doesn't, I will try and help you asap.

Error when trying to download required modules

I think you should share your error or a screenshot :)

i will never understand why to run python scripts on mobile ๐Ÿคทโ€โ™‚๏ธ

btw if the solution on #76 work I'll write on README

@MelovZaebl for the next time please check if there are other similar issues open before open a new one.
Sorry, I'm new to github + I don't know English well

I think you should share your error or a screenshot :)

When write "pip install -r requirements.txt"
1
2
3
4
5
6
7

When write "python example.py" after that
Traceback (most recent call last): File "example.py", line 4, in <module> from TwitchChannelPointsMiner import TwitchChannelPointsMiner File "/storage/emulated/0/Download/Twitch/TwitchChannelPointsMiner/__init__.py", line 3, in <module> from .TwitchChannelPointsMiner import TwitchChannelPointsMiner File "/storage/emulated/0/Download/Twitch/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 21, in <module> from TwitchChannelPointsMiner.classes.Twitch import Twitch File "/storage/emulated/0/Download/Twitch/TwitchChannelPointsMiner/classes/Twitch.py", line 25, in <module> from TwitchChannelPointsMiner.classes.TwitchLogin import TwitchLogin File "/storage/emulated/0/Download/Twitch/TwitchChannelPointsMiner/classes/TwitchLogin.py", line 10, in <module> import browser_cookie3 ModuleNotFoundError: No module named 'browser_cookie3'

You could try the following: python-pillow/Pillow#1957 (comment)
$ pkg install python libjpeg-turbo libcrypt ndk-sysroot clang zlib
$ LDFLAGS="-L${PREFIX}/lib/" CFLAGS="-I${PREFIX}/include/" pip install --upgrade wheel pillow

And then pip install -r requirements.txt

Now error only with cryptography (last 2 screenshots)

  • pkg install libcrypt-dev
  • pkg install libffi-dev

Reference in: termux/termux-packages#2430

Screenshot_2021-02-26-00-48-36-950_com.termux.png
This 2 strings output this

Sorry, but I don't have a fix for you.
I'm just googling in search of solution, I think you can do the same :)

However, If you read the screenshot termux suggest installing libffi instead of libffi-dev
So you can try the following:

  • pkg install libffi
  • pip install -r requirements.txt

Same issue here , I already tried your suggestions and google search solutions , none worked
Screenshot_20210226-035035933

I bring good news , it's seems I found a fix that's was really under my nose and literally in error logs , the fix is to install rust then you just run the requirements command.

Ps: I did install rust while on miner directory but I'm not sure if it's relevant or not.

  • pkg install rust
  • pip install -r requirements.txt

Here a few screenshot

Screenshot_20210227-185810559
Screenshot_20210227-190249102
Screenshot_20210227-190843531

๐Ÿฅณ Awesome, so the steps should be the following:

Install the requirements
pkg install python git rust libjpeg-turbo libcrypt ndk-sysroot clang zlib
LDFLAGS="-L${PREFIX}/lib/" CFLAGS="-I${PREFIX}/include/" pip install --upgrade wheel pillow

Clone this repository
git clone https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2

(2 way):
Download sources from GitHub and put it into your Termux storage

Now you can enter the directory with our miner, do this by typing this command:
cd Twitch-Channel-Points-Miner-v2

Configure your miner on your preferences by typing
nano example.py

When you have configured it now we can rename it (optional):
mv example.py run.py

We have to also install dependences required to run miner:
pip install -r requirements.txt

Now when we did everything we can run miner:
python run.py

So i had to reinstall this on my android phone termux and ran into some issues specifically Cryptography issue , if anyone is still having issue building wheel for cryptography try this :

pip install cryptography --no-binary cryptography

its should correctly finish the process and build wheel for cryptography if everything has ran like i described above then all you have to do is to run the requirement command again just to make sure all requirements are satisfied:

pip install -r requirements.txt

now you can go configure your run.py and python run.py

So i had to reinstall this on my android phone termux and ran into some issues specifically Cryptography issue , if anyone is still having issue building wheel for cryptography try this :

pip install cryptography --no-binary cryptography

its should correctly finish the process and build wheel for cryptography if everything has ran like i described above then all you have to do is to run the requirement command again just to make sure all requirements are satisfied:

pip install -r requirements.txt

now you can go configure your run.py and python run.py

Any solutions? Failed building wheel for cryptography.

Any solutions? Failed building wheel for cryptography.

Try pip install --upgrade cryptography==3.4.6 --no-binary cryptography

error
Hi I have this problem Im in the step of pip install -r requirements.txt im in termux, I also have another session with another git I already use pkg install python git rust libjpeg-turbo libcrypt ndk-sysroot clang zlib
LDFLAGS="-L${PREFIX}/lib/" CFLAGS="-I${PREFIX}/include/" pip install --upgrade wheel pillow

try with
MATHLIB="m" pip install pandas

hi the "MATHLIB="m" pip install pandas" help me but now I have this problem when I tried to run the twith miner "python run.py"
11
22
3_1

maybe because I have two session the first with another git

Don't forget to modify "run.py" according to your needs (your twitch username and password and channels...etc) because in your first screenshot , you are NOT doing this , you just copy and rename "example.py" to "run.py" and attempt to run it by typing "python run.py"

also after running MATHLIB="m" pip install pandas
you should also run pip install -r requirements.txt to make sure every requirements has been met.

also i don't know if you are using Termux from Google Play or not , the correct termux you should use is from F-Droid or Termux Github , the google play version is not being updated because of google strics rules

ohh I think I understand my fail let me check xd thankyou again

No problem

I think thats the problem Im using the version of https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2 I get twitchapi error code 5023 I will tried with the rdavydov version:) I will tryed this one https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2/ its update

@spix18 hi bro how I can make my list of streamer but with priority? that follow my list of streamer? :) can you shared me how I need to write please:)

@spix18 hi bro how I can make my list of streamer but with priority? that follow my list of streamer? :) can you shared me how I need to write please:)

no idea sorry