-
Notifications
You must be signed in to change notification settings - Fork 133
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
'import pyhrv' gets 'no module tkinter error' #1145
Comments
Please post the full stack trace, as described at https://stackoverflow.com/a/23353174. |
I suggest you report this to the biosppy project, and request them to tolerate the situation where tkinter is unavailable. Unfortunately I can't see any simple workaround. Adding a fake tkinter module to |
Chaquopy version
15.0
Devices or emulators where the issue happens
Relevant parts of your code
python script
import cv2
import numpy as np
import time
import pyhrv
build.gradle
chaquopy{
defaultConfig {
version = "3.8"
pip{
install("opencv-python")
install("numpy")
install("spectrum")
install("scipy")
install("pyhrv")
}
}
Describe your issue
I need to import pyhrv.
but when I import pyhrv, I get
com.chaquo.python.PyException: ModuleNotFoundError: No module named 'tkinter'
(Even if I don't put any funtion of pyhrv, just only import pyhrv, it says same error)
I know chaquopy doesn't support tkinter.
But I don't need to use tkinter. I don't use and write it anywhere.
Is pyhrv using tkinter??? Is pyhrv related to tkinter?
Why does pyhrv out tkinter error although I don't use tkinter?
And how can I use pyhrv without tkinter error?
The text was updated successfully, but these errors were encountered: