LuoweiZhou / VLP

Vision-Language Pre-training for Image Captioning and Question Answering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: command 'gcc' failed with exit status 1 raised in installing apex

ChenYutongTHU opened this issue · comments

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!!