Traceback (most recent call last):


 "/home/xxx/.virtualenvs/test-pip-tools/bin/pip-compile", line 7, in <module>

from piptools.scripts.compile import cli


 "/home/xxx/.virtualenvs/test-pip-tools/local/lib/python2.7/site-packages/piptools/scripts/compile.py", line 11, in <module>

from pip.req import InstallRequirement, parse_requirements
ImportError: No module named req

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.6/dist-packages/matplotlib/pyplot.py", line 116, in <module>

_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()


 "/usr/local/lib/python3.6/dist-packages/matplotlib/backends/__init__.py", line 60, in pylab_setup

[backend_name], 0)


 "/usr/local/lib/python3.6/dist-packages/matplotlib/backends/backend_tkagg.py", line 6, in <module>

from six.moves import tkinter as Tk


 "/usr/local/lib/python3.6/dist-packages/six.py", line 92, in __get__

result = self._resolve()


 "/usr/local/lib/python3.6/dist-packages/six.py", line 115, in _resolve

return _import_module(self.mod)


 "/usr/local/lib/python3.6/dist-packages/six.py", line 82, in _import_module

__import__(name)


 "/usr/lib/python3.6/tkinter/__init__.py", line 39, in <module>

raise ImportError(str(msg) + ', please install the python3-tk package')
ImportError: No module named '_tkinter', please install the python3-tk package
