on mac os i was trying to install pip install pycld2.
Collecting pycld2
Using cached https://files.pythonhosted.org/packages/21/77/8525fe5f147bf2819c7c9942c717c4a79b83f8003da1a3847759fb560909/pycld2-0.31.tar.gz
Building wheels for collected packages: pycld2
Building wheel for pycld2 (setup.py) ... error
....
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build/lib.macosx-10.6-intel-3.6
creating build/lib.macosx-10.6-intel-3.6/pycld2
copying pycld2/init.py -> build/lib.macosx-10.6-intel-3.6/pycld2
running build_ext
building 'pycld2._pycld2' extension
creating build/temp.macosx-10.6-intel-3.6
creating build/temp.macosx-10.6-intel-3.6/cld2
creating build/temp.macosx-10.6-intel-3.6/cld2/internal
creating build/temp.macosx-10.6-intel-3.6/bindings
...
In file included from cld2/internal/cldutil.cc:20:
In file included from cld2/internal/cldutil.h:25:
In file included from cld2/internal/scoreonescriptspan.h:81:
cld2/internal/compact_lang_det_impl.h:22:10: fatal error: 'vector' file not found
include
^~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
on mac os i was trying to install pip install pycld2.
Collecting pycld2 Using cached https://files.pythonhosted.org/packages/21/77/8525fe5f147bf2819c7c9942c717c4a79b83f8003da1a3847759fb560909/pycld2-0.31.tar.gz Building wheels for collected packages: pycld2 Building wheel for pycld2 (setup.py) ... error .... running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. running build running build_py creating build creating build/lib.macosx-10.6-intel-3.6 creating build/lib.macosx-10.6-intel-3.6/pycld2 copying pycld2/init.py -> build/lib.macosx-10.6-intel-3.6/pycld2 running build_ext building 'pycld2._pycld2' extension creating build/temp.macosx-10.6-intel-3.6 creating build/temp.macosx-10.6-intel-3.6/cld2 creating build/temp.macosx-10.6-intel-3.6/cld2/internal creating build/temp.macosx-10.6-intel-3.6/bindings ... In file included from cld2/internal/cldutil.cc:20: In file included from cld2/internal/cldutil.h:25: In file included from cld2/internal/scoreonescriptspan.h:81: cld2/internal/compact_lang_det_impl.h:22:10: fatal error: 'vector' file not found
include
1 error generated. error: command '/usr/bin/clang' failed with exit status 1