Building pytorch from sources, error import torch

Linux Rocky 8.8
I have done everything from official instruction.

using conda env, wrote python develop and evrething seems to be okey, but then i start pyrhon console
write: import torch and get an error
from torch._C import * # noqa: F403 ImportError: /home/user2/plotnikov/pytorch/torch/lib/ undefined symbol: PyObject_CallOneArg while import torch

where schould i look for problems