How can I install all the package of pytorch for my neural network model?

I am new to PyTorch. I want to install all the packages in the spyder. Can someone help me to give me all the commands or the link from where I can install everything?

  1. Download anaconda link
  2. Go to anaconda-navigator, and install spyder.
  3. Install pytorch in conda environment link

Thankyou so much :slight_smile:
Can you explain me the details on CUDA?

On pytorch install page, select cuda and the install command will do everything for you.

ImportError: cannot import name ‘USE_GLOBAL_DEPS’ from ‘torch._utils_internal’ (C:\ProgramData\Anaconda3\lib\site-packages\

I am facing this error

Try changing directory. You have to provide the complete process that got you to the error, it is difficult to tell without that.

ImportError Traceback (most recent call last)
----> 1 import torch

~\anaconda3\lib\site-packages\ in
22 from ._utils import _import_dotted_name
—> 23 from ._utils_internal import get_file_path, prepare_multiprocessing_environment,
25 # TODO(torch_deploy) figure out how to freeze in fbcode build

ImportError: cannot import name ‘USE_GLOBAL_DEPS’ from ‘torch._utils_internal’ (C:\Users\ANTHONY\anaconda3\lib\site-packages\

I am having this error. I reinstalled it but, same error persists

1 Like