Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Mar 3, 2024 · 9 comments

Comments

@truresma
Copy link

truresma commented Mar 3, 2024

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
Copy link

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
Copy link
Author

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

@truresma truresma reopened this Mar 17, 2024
@mastrolube
Copy link
Contributor

mastrolube commented Mar 17, 2024

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
Copy link
Author

truresma commented Mar 18, 2024

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

@truresma truresma changed the title Samsung Galaxy S9+ install through Termux is not working, exit code 1 on Step 3 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 Mar 18, 2024
@mastrolube
Copy link
Contributor

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

@truresma
Copy link
Author

truresma commented Mar 23, 2024

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
Copy link
Contributor

Try to follow this PR
GramAddict/docs#6

@truresma
Copy link
Author

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
Copy link

mrlordziemniak commented May 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants