GramAddict / bot

Completely free and open-source human-like Instagram bot. Powered by UIAutomator2 and compatible with basically any Android device 5.0+ that can run Instagram - real or emulated.
https://docs.gramaddict.org
MIT License
1.11k stars 173 forks source link

Samsung Galaxy S9+ install through Termux is not working | Failed building wheel for 1xml ERROR: Could not build wheels for 1xml, which is required to install pyproject.toml-based projects #375

Open truresma opened 7 months ago

truresma commented 7 months ago

Hello,

Step 3 in the install process is not working. It is a Samsung Galaxy S9+ Android Phone (Android 10) and i try to install GramAddict directly on the Phone with Termux (downloaded from the F-Droid Store) On Step 2 I installed from all the newest version.

I have also a Synology NAS (Docker, Linux) but there is no Docker file, or? On my Raspberry 4 is already Home Assistant OS installed

What means that error and what can I do?

IMG_2282

mahjonggg commented 7 months ago

scroll up and check the package causing this error. if it's PyYaml, change the version to 5.3.1 in the requirements.txt file. worked fine for me

truresma commented 7 months ago

where can i find/edit the requirements.txt file?

mastrolube commented 7 months ago

where can i find/edit the requirements.txt file?

It is in the main folder. If you want to install using pip you have to change the toml file and after that install it using pip install .

truresma commented 7 months ago

Thanks, I changed the PyYaml version to 5.3.1 in the requirements.txt file.

After i have typed in Step 3:

"git clone https://github.com/gramaddict/bot.git gramaddict cd gramaddict pip install -r requirements.txt"

Now a new Problem on Step 3. Screenshots attached.

Tried to add "lxml==4.8.0" in the requirements.txt file. And "pip install --upgrade setuptools" but still the same problem.

"Failed building wheel for 1xml ERROR: Could not build wheels for 1xml, which is required to install pyproject.toml-based projects"

Screenshot 2024-03-18 064620 Screenshot 2024-03-18 064630
mastrolube commented 6 months ago

maybe that helps: https://www.cnblogs.com/ze-yan/p/12242383.html (use a translator)

truresma commented 6 months ago

maybe that helps: https://www.cnblogs.com/ze-yan/p/12242383.html (use a translator)

don't work, same error/step with 1xml there like before when i try to install GramAddict

did the following:

pkg upgrade pkg install python pip install cython pkg install libxml2 libxslt pkg install -y python ndk-sysroot clang make libjpeg-turbo pkg install clang pip install lxml pip install --pre uiautomator2

mastrolube commented 6 months ago

Try to follow this PR https://github.com/GramAddict/docs/pull/6

truresma commented 6 months ago

Try to follow this PR GramAddict/docs#6

I did the following from here https://github.com/GramAddict/docs/pull/6/files

same problem with 1xml...

seems not to work

mrlordziemniak commented 5 months ago

i have same problem with wheels on lxml, error when try to installScreenshot_20240507_205352_Termux.jpg