Pytorch won’t install in PyCharm on MacOS

I'm new to the MacOS and I have recently downloaded PyCharm on it. I was able to successfully install some packages like numpy, matplotlib, sympy, etc. However, Pytorch won't get installed; not through PyCharm nor through the Terminal. These are the commands I tried in the Terminal (other than attempting to install them directly from PyCharm):

  • pip install torch
  • pip install torch torchvision torchaudio

I could post the error messages but some are quite lengthy :(

I'm using Python 3.9 interpreter with pip on the latest version (20.2.4) (everything else is also up to date). Running this on the new Mac Mini (running the M1 chip).

Any ideas on what I should do? Thanks!!!

Read more here:

Content Attribution

This content was originally published by Omar AlSuwaidi at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: