Hello, thanks for your suggestion! I tried to compile from source following instructions in the website, but I met another error now:
/home/zephyr/anaconda3/compiler_compat/ld: cannot find -lpthread
/home/zephyr/anaconda3/compiler_compat/ld: cannot find -lc
collect2: error: ld returned 1 exit status
error: command ‘gcc’ failed with exit status 1
I uninstalled the older pytorch version first, and tried to compile it from scratch. But when I used the setup.py to install, such error occurred.
Do you know what I could do then? Thank you very much!