install failure
mjfox3 opened this issue · 0 comments
I'm trying to install via pip on OSX 10.14 python3.6 and I am gettin the following error.
Installing collected packages: kenlm, spacy-kenlm
Running setup.py install for kenlm ... error
Complete output from command ~/venv/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-install-zq5mz13x/kenlm/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/tmp/pip-record-v10jfj37/install-record.txt --single-version-externally-managed --compile --install-headers ~/venv/include/site/python3.6/kenlm:
running install
running build
running build_ext
building 'kenlm' extension
creating build/temp.macosx-10.6-intel-3.6
creating build/temp.macosx-10.6-intel-3.6/util
creating build/temp.macosx-10.6-intel-3.6/lm
creating build/temp.macosx-10.6-intel-3.6/util/double-conversion
creating build/temp.macosx-10.6-intel-3.6/python
/usr/bin/clang -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch i386 -arch x86_64 -g -I. -I ~/venv/include -I/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c util/pool.cc -o build/temp.macosx-10.6-intel-3.6/util/pool.o -O3 -DNDEBUG -DKENLM_MAX_ORDER=6 -std=c++11 -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_XZLIB
warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from util/pool.cc:1:
./util/pool.hh:4:10: fatal error: 'cassert' file not found
#include
^~~~~~~~~
1 warning and 1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
----------------------------------------
Command "~/venv/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-install-zq5mz13x/kenlm/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /private/tmp/pip-record-v10jfj37/install-record.txt --single-version-externally-managed --compile --install-headers ~/venv/include/site/python3.6/kenlm" failed with error code 1 in /private/tmp/pip-install-zq5mz13x/kenlm/