Issues installing pytorch for OS X with conda
I used to have pytorch working for python 3 on OS X but now I can't get it to install automatically for some reason (I don't want to do from source).

I did:

conda install pytorch torchvision -c pytorch


as the website suggested... then I got a mkl error so I installed it but it still complains about it:

(FTIR_py3) brandomiranda~/home_simulation_research/FTIR/FTIR_proj $ conda install pytorch torchvision -c pytorch
Fetching package metadata ...........
Solving package specifications:


PackageNotFoundError: Package not found: '' Dependencies missing in current osx-64 channels:
  - pytorch -&gt; mkl &gt;=2018
  - torchvision -&gt; pytorch &gt;=0.3 -&gt; mkl &gt;=2018

You can search for packages on anaconda.org with

    anaconda search -t conda mkl

You may need to install the anaconda-client command line client with

    conda install anaconda-client


but I do have mkl:

(FTIR_py3) brandomiranda~/home_simulation_research/FTIR/FTIR_proj $ conda install mkl
Fetching package metadata .........
Solving package specifications: .

# All requested packages already installed.
# packages in environment at /Users/brandomiranda/miniconda3/envs/FTIR_py3:
#
mkl                       2017.0.3                      0


anyone know whats going on? it used to work a few days ago...



longer thread on pytorch forum:

https://discuss.pytorch.org/t/issues-installing-pytorch-for-os-x-with-conda/11496

As suggested in PyTorch forum, I think you should first install MKL. Your error trace also says that MKL is missing in your system. You can install MKL by doing:

$ conda install -c anaconda mkl


After this, install pytorch and torchvision by

$ conda install -c pytorch pytorch torchvision

