
Traceback (most recent call last):


 "/Users/fcampagne/miniconda3/envs/cqa/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1515, in _run_ninja_build

env=env)


 "/Users/fcampagne/miniconda3/envs/cqa/lib/python3.7/subprocess.py", line 512, in run

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

Traceback (most recent call last):


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


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/__init__.py", line 34, in <module>

from . import files


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/files/__init__.py", line 12, in <module>

from .dataset_loaders.celebA_dataset import *


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/files/dataset_loaders/__init__.py", line 4, in <module>

from .celebA_dataset import *


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/files/dataset_loaders/celebA_dataset.py", line 10, in <module>

from tensorlayer.files.utils import download_file_from_google_drive


 "/usr/local/lib/python2.7/dist-packages/tensorlayer/files/utils.py", line 31, in <module>

import matplotlib.pyplot as plt


 "/usr/local/lib/python2.7/dist-packages/matplotlib/pyplot.py", line 115, in <module>

_backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()


 "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/__init__.py", line 62, in pylab_setup

[backend_name], 0)


 "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 4, in <module>

from . import tkagg
# Paint image to Tk photo blitter extension.


 "/usr/local/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line 5, in <module>

from six.moves import tkinter as Tk


 "/usr/local/lib/python2.7/dist-packages/six.py", line 203, in load_module

mod = mod._resolve()


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

return _import_module(self.mod)


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

__import__(name)


 "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>

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