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

dependency on tkinter? #252

Open
shakfu opened this issue Feb 23, 2022 · 1 comment
Open

dependency on tkinter? #252

shakfu opened this issue Feb 23, 2022 · 1 comment

Comments

@shakfu
Copy link

shakfu commented Feb 23, 2022

I was looking forward to running foxdot on a headless rpi with supercollider via ssh when I saw that tkinter of all things is a dependency:

$ python3 -m FoxDot
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/pi/.local/lib/python3.7/site-packages/FoxDot/__main__.py", line 82, in <module>
    from .lib.Workspace.Editor import workspace
  File "/home/pi/.local/lib/python3.7/site-packages/FoxDot/lib/Workspace/Editor.py", line 18, in <module>
    from .tkimport import *
  File "/home/pi/.local/lib/python3.7/site-packages/FoxDot/lib/Workspace/tkimport.py", line 4, in <module>
    from tkinter import *
ModuleNotFoundError: No module named 'tkinter'

Can this be disabled?

@Qirky
Copy link
Owner

Qirky commented Feb 23, 2022

If you want to run FoxDot with the default GUI then, no, it can't be disabled as the interface is built using Tkinter (see README). You can import FoxDot as standalone Python library into your own projects/use it in other editors such as Atom or Emacs

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