Reputation: 1
I'm trying to learn python for a class. we're using jupyter notebooks where the import torch command works fine but using spyder I keep getting this error and I have no idea how to fix it. I'm a complete newbie at this and I really don't know what to do.
Upvotes: 0
Views: 7008
Reputation: 263
Open Spyder terminal and try running conda install torch
if using Anaconda, or pip install torch
otherwise.
Upvotes: 0
Reputation: 1445
Let's try this
conda install torch # Use anaconda prompt
or
pip install torch # Use the command prompt
Upvotes: 1