ImportError: cannot import name 'USE_GLOBAL_DEPS'

I am having Jetson Xavier nx with jetpack4.6
When I run Import torch
I get an error->
ImportError Traceback (most recent call last)
in
----> 1 import torch

~/archiconda3/envs/sttr/lib/python3.6/site-packages/torch/init.py in
20
21 from ._utils import _import_dotted_name
—> 22 from ._utils_internal import get_file_path, prepare_multiprocessing_environment,
23 USE_RTLD_GLOBAL_WITH_LIBTORCH, USE_GLOBAL_DEPS
24 from .version import version

ImportError: cannot import name ‘USE_GLOBAL_DEPS’

Please resolve this issue as soon as possible, I will be very thankful to you.

Hi,

Could you share which PyTorch package do you install?
For Jetson, it’s recommended to use our prebuilt in the below topic:
(Please noted that you need to install the package that supports JetPack4.6)

Thanks.