I'm stuck trying to use unordered_sets in Cython in a Jupyter Notebook on my Mac.
%%cython -a -3
# distutils: language = c++
# cython: c_string_type=unicode, c_string_encoding=utf8
import cython
from libcpp.unordered_set cimport unordered_set
def test():
cdef unordered_set[int] s
return s
The above cell throws:
DistutilsExecError: command 'gcc' failed with exit status 1