Illegal instruction on Mac 21.5" Mid-2010

Hi, I am trying to get PyTorch working on my iMac 21.5" running OS X 10.13.6 on an Intel i3-540 CPU.
I tried installing it using conda, starting from version 1.4 and going backward to 0.4.1 but I can’t get it working. Could you help me? Thanks.

$ python
Python 3.7.6 (default, Jan  8 2020, 13:42:34) 
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
Illegal instruction: 4

I already wrote there too. Still no replies

Try a nightly build:

conda install pytorch torchvision -c pytorch-nightly

I tried it after looking around Github repository issues… but it didn’t work either

This comment suggests:

conda install pytorch-nightly -c pytorch

Did you do this?