Apex install error: the environment is not compatible

Most of the errors reported in apex installation are mainly due to the unsuitable environment. For example, CUDA version is not suitable for torch. Please check the required CUDA version before installation:

# cuda version in pytorch
import torch
torch.version.cuda

Read More: