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

I am unable to use libraries #2

Open
yah04dev opened this issue Apr 9, 2023 · 3 comments
Open

I am unable to use libraries #2

yah04dev opened this issue Apr 9, 2023 · 3 comments

Comments

@yah04dev
Copy link

yah04dev commented Apr 9, 2023

I am unable to use libraries offline is there a way to import them offline.

@LoreBadTime
Copy link
Owner

LoreBadTime commented Apr 12, 2023

Hi there, i suggest you to firstly start a new Android project from my source repo, then see the FAQ section from the description https://github.com/LoreBadTime/PyScript-On-Android#faq

@yah04dev
Copy link
Author

Yes i started a new project and saw the FAQ but i am unable to import python modules when i write import adhan in example it writes module adhan not found i tried and but not working

@LoreBadTime
Copy link
Owner

LoreBadTime commented Apr 12, 2023

Modules import can be a little problematic as i haven't tested anything besides a simple Python run, generally speaking you should be able to use modules if you are able to import them from PyScript, try to import them from the html page or from PyScript things. Keep in mind that this it's only an example project that shows that you could run it theoretically. But practically this isn't ready for any real development case.

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

2 participants