When can't I import pytorch on Spyder without the kernel restarting?

Viewed 31

I'm trying to import pytorch in a python script using Spyder. I installed it through Anaconda. When I try to "import torch" it just restarts the kernel every time. I am able to import pytorch into python when I run it in a terminal window without Sypder.

Does anyone have any ideas to help troubleshoot why it might not be working on Spyder?

0 Answers
Related