Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Error importing the module #10

Open
ghost opened this issue Aug 12, 2021 · 2 comments
Open

Error importing the module #10

ghost opened this issue Aug 12, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2021

Hi! I used this pip install torch -f https://torch.kmtea.eu/whl/stable.html to install this module on Termux (Python 3.9.6) (Android 9, ARM64)

But every time I try to import it I get this error:
Screenshot_20210812-215333_Termux

@KumaTea
Copy link
Owner

KumaTea commented Aug 13, 2021

Hi, thank you for the issue!

This situation could be expected, because Termux uses a customized minimal (i.e. incomplete) Linux environment, which means some components are missing.

It could be solved (and I personally recommend) by using some App, like Andronix and AnLinux, to create a chroot environment, and provide a full Linux env.


The error OSError: dlopen failed: library "libgomp.so.1" not found has been reproduced as follows:

Termux

And what it looks like in an Ubuntu env:
Ubuntu

@ghost
Copy link
Author

ghost commented Aug 13, 2021

Opened an Issue on the Termux app's repo to follow up on the Issue.

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

No branches or pull requests

1 participant