Yeah, I have installed pytorch in the local environment again instead of the global environment. And this issue didn’t occur again.
I think it is caused by the permission of the folder where numpy is installed.