Thanks for your reply.
I already tried using python setup.py clean, but that didn’t work too.
I tried to build pytorch from source because I couldn’t update pytorch, but after I removed pytorch like you said, pre-built binaries worked.
So I don’t know why that kind of error occurs, but now I can use 0.4.0 version.
Thanks a lot.