Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

warning no module _tkinter #27

Open
binary1230 opened this issue Feb 1, 2015 · 1 comment
Open

warning no module _tkinter #27

binary1230 opened this issue Feb 1, 2015 · 1 comment

Comments

@binary1230
Copy link
Contributor

harmless? but annoying error message when debugging. probably just need to apt-get install tkinter as part of fabric or puppet

Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/CherryPy-3.6.0-py3.4.egg/cherrypy/process/plugins.py", line 500, in run
    self.function(*self.args, **self.kwargs)
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/CherryPy-3.6.0-py3.4.egg/cherrypy/process/plugins.py", line 632, in run
    for filename in self.sysfiles() | self.files:
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/CherryPy-3.6.0-py3.4.egg/cherrypy/process/plugins.py", line 616, in sysfiles
    hasattr(m, '__loader__') and
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/six-1.5.2-py3.4.egg/six.py", line 116, in __getattr__
    _module = self._resolve()
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/six-1.5.2-py3.4.egg/six.py", line 105, in _resolve
    return _import_module(self.mod)
  File "/home/vagrant/uber/sideboard/env/lib/python3.4/site-packages/six-1.5.2-py3.4.egg/six.py", line 76, in _import_module
    __import__(name)
  File "/home/vagrant/.pycharm_helpers/pydev/_pydev_imps/_pydev_pluginbase.py", line 445, in plugin_import
    fromlist, level)
  File "/home/vagrant/.pycharm_helpers/pydev/_pydev_imps/_pydev_pluginbase.py", line 445, in plugin_import
    fromlist, level)
  File "/usr/lib/python3.4/tkinter/__init__.py", line 41, in <module>
    raise ImportError(str(msg) + ', please install the python3-tk package')
ImportError: No module named '_tkinter', please install the python3-tk package
@binary1230
Copy link
Contributor Author

apt-get install python3-tk does the trick

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant