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

How to disable tkinter modules #48

Closed
ChaeYeon01 opened this issue May 9, 2024 · 3 comments · Fixed by #49
Closed

How to disable tkinter modules #48

ChaeYeon01 opened this issue May 9, 2024 · 3 comments · Fixed by #49
Assignees

Comments

@ChaeYeon01
Copy link

Hi.
I have a problem :
chaquo/chaquopy#1145

I need to use chaquopy(Python SDK for Android) and import pyhrv in my android studio project. But 'import pyhrv' gets 'no module tkinter error'.
pyhrv_cv2
The error was also caused at biosppy module.

Chaquopy doesn't support tkinter. but I don't use tkinter.

I think biosppy might be related to tkinter.
I don't want tkinter to be used.
Is there any way to tolerate the situation where tkinter is unavailable?

thanks.

@rafaelscsilva rafaelscsilva linked a pull request May 9, 2024 that will close this issue
@sofia3ms
Copy link
Collaborator

sofia3ms commented May 9, 2024

Hello @ChaeYeon01 !! Thank you for reporting this. I think this error is happening because the inter_plotting submodule, which uses tkinter, is being loaded in the signals.ecg and signals.acc files. To fix this and avoid future issues, we changed it so that biosppy doesn't import this submodule unless it is explicitly called. Can you check if it works for you now?

@ChaeYeon01
Copy link
Author

Thank you for your comment!!
It works!!!
^오^

@sofia3ms
Copy link
Collaborator

sofia3ms commented May 10, 2024

Great!!

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

Successfully merging a pull request may close this issue.

2 participants