Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 119, in _get_module_details
code = loader.get_code(mod_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 281, in get_code
self.code = compile(source, self.filename, 'exec')
File "/Users/kom/work/workspace_ai/workspace_pytorch/pytorch-android-cpp-demo/pytorch/tools/codegen/gen.py", line 87
def parse_native_yaml(path: str) -> ParsedYaml:
^
SyntaxError: invalid syntax
CMake Error at cmake/Codegen.cmake:237 (message):
Failed to get generated_headers list
Call Stack (most recent call first):
caffe2/CMakeLists.txt:2 (include)
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 119, in _get_module_details
code = loader.get_code(mod_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pkgutil.py", line 281, in get_code
self.code = compile(source, self.filename, 'exec')
File "/Users/kom/work/workspace_ai/workspace_pytorch/pytorch-android-cpp-demo/pytorch/tools/codegen/gen.py", line 87
def parse_native_yaml(path: str) -> ParsedYaml:
^
SyntaxError: invalid syntax
CMake Error at cmake/Codegen.cmake:237 (message):
Failed to get generated_headers list
Call Stack (most recent call first):
caffe2/CMakeLists.txt:2 (include)