I have done exact steps following this installation_guide, but when executing sudo make -j8 install, error occurs
[ 11%] Built target libprotobuf
Scanning dependencies of target common
Scanning dependencies of target mkrename
Traceback (most recent call last):
File "/home/hope/pytorch/cmake/../aten/src/ATen/gen.py", line 5, in
import yaml
ImportError: No module named yaml
caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/build.make:132: recipe for target 'aten/src/ATen/CPUByteType.cpp' failed
make[2]: [aten/src/ATen/CPUByteType.cpp] Error 1
CMakeFiles/Makefile2:1606: recipe for target 'caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/all' failed
make[1]: [caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 11%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o
[ 11%] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o
[ 11%] Built target common
[ 11%] Linking C executable ../../bin/mkrename
[ 11%] Built target mkrename
[ 11%] Built target python_copy_files
Makefile:138: recipe for target 'all' failed
make: [all] Error 2
I have done exact steps following this installation_guide, but when executing
sudo make -j8 install
, error occurs[ 11%] Built target libprotobuf Scanning dependencies of target common Scanning dependencies of target mkrename Traceback (most recent call last): File "/home/hope/pytorch/cmake/../aten/src/ATen/gen.py", line 5, in
import yaml
ImportError: No module named yaml
caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/build.make:132: recipe for target 'aten/src/ATen/CPUByteType.cpp' failed
make[2]: [aten/src/ATen/CPUByteType.cpp] Error 1
CMakeFiles/Makefile2:1606: recipe for target 'caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/all' failed
make[1]: [caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 11%] Building C object sleef/src/common/CMakeFiles/common.dir/common.c.o
[ 11%] Building C object sleef/src/libm/CMakeFiles/mkrename.dir/mkrename.c.o
[ 11%] Built target common
[ 11%] Linking C executable ../../bin/mkrename
[ 11%] Built target mkrename
[ 11%] Built target python_copy_files
Makefile:138: recipe for target 'all' failed
make: [all] Error 2
Ubuntu16.04 CUDA 8.0 CUDNN 6