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

possibly redundant "from tkinter import W" in transforms/__init__.py #3

Closed
msrepo opened this issue Jul 29, 2022 · 2 comments
Closed

Comments

@msrepo
Copy link

msrepo commented Jul 29, 2022

In transforms/__init__.py, there is from tkinter import W. This import seems out of place. Can you please confirm?

This actually caused a issue when using in a docker container with python 3.8.

  File "/home/algorithm/.local/lib/python3.8/site-packages/deltaconv/__init__.py", line 4, in <module> 
    from . import transforms
  File "/home/algorithm/.local/lib/python3.8/site-packages/deltaconv/transforms/__init__.py", line 1, in <module>
    from tkinter import W
  File "/opt/conda/lib/python3.8/tkinter/__init__.py", line 36, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: libX11.so.6: cannot open shared object file: No such file or directory
@rubenwiersma
Copy link
Owner

Thank you for creating this issue. It is indeed a redundant import and I’ve removed it.

@msrepo
Copy link
Author

msrepo commented Jul 31, 2022

Thank you for the insightful work. So much to learn from.

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