How to translate the tensor type into numpy type?
import torch
x = torch.linspace(-5, 5, 200)
x_np = x.numpy()

it return:
UserWarning: Failed to initialize NumPy: No module named 'numpy.core._multiarray_umath' (Triggered internally at  ..\torch\csrc\utils\tensor_numpy.cpp:68.)
  _dtype_to_storage = {data_type(0).dtype: data_type for data_type in _storages}
RuntimeError: Numpy is not available

environment；
python3.7
pytorch==1.10.2

You need numpy installed
pip install numpy --upgrade

