Hey all, having some trouble with the pytorch audio installation.
$ python setup.py install
running install
running bdist_egg
running egg_info
writing torchaudio.egg-info/PKG-INFO
writing dependency_links to torchaudio.egg-info/dependency_links.txt
writing top-level names to torchaudio.egg-info/top_level.txt
reading manifest file ‘torchaudio.egg-info/SOURCES.txt’
writing manifest file ‘torchaudio.egg-info/SOURCES.txt’
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
running build_ext
building ‘_torch_sox’ extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda3/include -arch x86_64 -I/anaconda3/include -arch x86_64 -I/anaconda3/lib/python3.6/site-packages/torch/lib/include -I/anaconda3/lib/python3.6/site-packages/torch/lib/include/TH -I/anaconda3/lib/python3.6/site-packages/torch/lib/include/THC -I/anaconda3/include/python3.6m -c torchaudio/torch_sox.cpp -o build/temp.macosx-10.7-x86_64-3.6/torchaudio/torch_sox.o -DTORCH_EXTENSION_NAME=_torch_sox -std=c++11
In file included from torchaudio/torch_sox.cpp:1:
In file included from /anaconda3/lib/python3.6/site-packages/torch/lib/include/torch/torch.h:5:
In file included from /anaconda3/lib/python3.6/site-packages/torch/lib/include/ATen/ATen.h:5:
In file included from /anaconda3/lib/python3.6/site-packages/torch/lib/include/ATen/Allocator.h:6:
/anaconda3/lib/python3.6/site-packages/torch/lib/include/ATen/Retainable.h:3:10: fatal error: ‘atomic’ file not found
#include 
^~~~~~~~
1 error generated.
error: command ‘gcc’ failed with exit status 1
This is after installing sox and cloning the repo. Is there something I am missing?
I also tried upgrading my g++ to g+±8, but with no luck.
The corresponding issue is here: https://github.com/pytorch/audio/issues/52 3. Just thought I could also ask the community.
Any help appreciated!