I use homebrew. Since it is inconflict with conda, so I can not use conda to install pytorch. But when I tried pip to install pytorch, I got the following error. Could anybody show me how to resolve this problem? Thanks.
$ pip install pytorch
Collecting pytorch
Downloading pytorch-0.1.2.tar.gz
Building wheels for collected packages: pytorch
Running setup.py bdist_wheel for pytorch … error
Complete output from command /usr/local/opt/python/bin/python2.7 -u -c “import setuptools, tokenize;file=’/private/var/folders/r7/bvmh1vvx41d63snvgbdz7bl40000gr/T/pip-build-nTG0jM/pytorch/setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” bdist_wheel -d /var/folders/r7/bvmh1vvx41d63snvgbdz7bl40000gr/T/tmpMDyh7Upip-wheel- --python-tag cp27:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/r7/bvmh1vvx41d63snvgbdz7bl40000gr/T/pip-build-nTG0jM/pytorch/setup.py”, line 17, in
raise Exception(message)
Exception: You should install pytorch from http://pytorch.org
…