
Traceback (most recent call last):


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


 "/home/kiee/dt2/detectron2_repo/setup.py", line 85, in <module>

cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension},


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/setuptools/__init__.py", line 145, in setup

return distutils.core.setup(**attrs)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/core.py", line 148, in setup

dist.run_commands()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/dist.py", line 955, in run_commands

self.run_command(cmd)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/dist.py", line 974, in run_command

cmd_obj.run()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/setuptools/command/develop.py", line 38, in run

self.install_for_development()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/setuptools/command/develop.py", line 140, in install_for_development

self.run_command('build_ext')


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/cmd.py", line 313, in run_command

self.distribution.run_command(command)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/dist.py", line 974, in run_command

cmd_obj.run()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 84, in run

_build_ext.run(self)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/distutils/command/build_ext.py", line 339, in run

self.build_extensions()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 238, in build_extensions

self._check_abi()


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 380, in _check_abi

check_compiler_abi_compatibility(compiler)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 168, in check_compiler_abi_compatibility

if not check_compiler_ok_for_platform(compiler):


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 144, in check_compiler_ok_for_platform

which = subprocess.check_output(['which', compiler], stderr=subprocess.STDOUT)


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/subprocess.py", line 356, in check_output

**kwargs).stdout


 "/home/kiee/anaconda3/envs/dt2/lib/python3.6/subprocess.py", line 438, in run

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['which', 'g++']' returned non-zero exit status 1.

Traceback (most recent call last):


 "/home/justin/anaconda2/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap

self.run()


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/lint.py", line 208, in run

result = self._run_linter(file_or_module[0])


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/lint.py", line 237, in _run_linter

linter.check(file_or_module)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/lint.py", line 726, in check

self._do_check(files_or_modules)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/lint.py", line 855, in _do_check

self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/lint.py", line 934, in check_astroid_module

walker.walk(ast_node)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/utils.py", line 973, in walk

self.walk(child)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/utils.py", line 973, in walk

self.walk(child)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/utils.py", line 970, in walk

cb(astroid)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/checkers/base.py", line 1293, in visit_assignname

if isinstance(utils.safe_infer(ass_type.value), astroid.ClassDef):


 "/home/justin/anaconda2/lib/python2.7/site-packages/backports/functools_lru_cache.py", line 137, in wrapper

result = user_function(*args, **kwds)


 "/home/justin/anaconda2/lib/python2.7/site-packages/pylint/checkers/utils.py", line 772, in safe_infer

inferit = node.infer(context=context)


 "/home/justin/anaconda2/lib/python2.7/site-packages/astroid/node_classes.py", line 239, in infer

return self._explicit_inference(self, context, **kwargs)


 "/home/justin/anaconda2/lib/python2.7/site-packages/astroid/brain/brain_stdlib.py", line 297, in infer_named_tuple

context=context)


 "/home/justin/anaconda2/lib/python2.7/site-packages/astroid/brain/brain_stdlib.py", line 97, in infer_func_form

class_node._instance_attrs[attr] = [fake_node]
AttributeError: 'ClassDef' object has no attribute '_instance_attrs'
