error: command 'gcc' failed with exit status 1 raised in installing apex
ChenYutongTHU opened this issue · comments
ChenYutongTHU commented
Hi,
I run ./setup.sh after creating the conda environment using the provided yml. However, an error raised when building gcc.
/home/chenyutong/anaconda3/lib/python3.7/site-packages/torch/include/c10/util/E
xception.h:338:3: error: expected ‘;’ before ‘do’
do { \
^
csrc/scale_check_overflow.cpp:23:3: note: in expansion of macro ‘AT_CHECK’
...
error: command 'gcc' failed with exit status 1
Does anyone know what the problem is here? Thanks a bunch!!