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

ModuleNotFoundError caused by turtle package #47

Open
jon-tow opened this issue Jan 5, 2023 · 1 comment
Open

ModuleNotFoundError caused by turtle package #47

jon-tow opened this issue Jan 5, 2023 · 1 comment

Comments

@jon-tow
Copy link

jon-tow commented Jan 5, 2023

Bug

Attempting to import opendelta results in an error caused by a module not found failure stemming from the turtle graphics package. Is it possible that the following line was unintended, as it is unused elsewhere in the project?

from turtle import back

Traceback

>>> import opendelta
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".env/lib/python3.8/site-packages/opendelta/__init__.py", line 14, in <module>
    from .basemodel import DeltaBase
  File ".env/lib/python3.8/site-packages/opendelta/basemodel.py", line 6, in <module>
    from turtle import back
  File "/usr/lib/python3.8/turtle.py", line 107, in <module>
    import tkinter as TK
ModuleNotFoundError: No module named 'tkinter'
@telxt
Copy link
Collaborator

telxt commented Mar 20, 2023

Sorry for our negligence. The code you mentioned is indeed unintended. You can comment it out directly and we'll also fix it later. Thank you for pointing out this.

guang-yng added a commit to guang-yng/OpenDelta that referenced this issue Jul 21, 2023
Achazwl added a commit that referenced this issue Jul 21, 2023
Remove turtle dependency (fix issue #47)
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