teng:

ImportError: cannot import name ‘default_generator’ from ‘torch._C’ (unknown location)


Nope, mine is a different one. As for your problem, if you have a previous installation, please remember to remove that first.