$ python detection_bounding_boxes.py
Traceback (most recent call last):
File "detection_bounding_boxes.py", line 14, in
from matplotlib import pyplot as plt
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/pyplot.py", line 115, in
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in
from six.moves import tkinter as Tk
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 92, in __get__
result = self._resolve()
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 82, in _import_module
__import__(name)
ImportError: No module named 'tkinter'
############################################3
yum provides '*/tkinter'
sudo yum install python35u-tkinter-3.5.4-1.ius.centos7.x86_64
python
>>> import tkinter
>>>
Traceback (most recent call last):
File "detection_bounding_boxes.py", line 14, in
from matplotlib import pyplot as plt
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/pyplot.py", line 115, in
_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/backends/__init__.py", line 32, in pylab_setup
globals(),locals(),[backend_name],0)
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/matplotlib/backends/backend_tkagg.py", line 6, in
from six.moves import tkinter as Tk
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 92, in __get__
result = self._resolve()
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 115, in _resolve
return _import_module(self.mod)
File "/home/depappas/python_virtual_env/deep_learning/lib/python3.5/site-packages/six.py", line 82, in _import_module
__import__(name)
ImportError: No module named 'tkinter'
############################################3
yum provides '*/tkinter'
sudo yum install python35u-tkinter-3.5.4-1.ius.centos7.x86_64
python
>>> import tkinter
>>>
No comments:
Post a Comment