Skip to content

Instantly share code, notes, and snippets.

@wozozo
Created April 12, 2016 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wozozo/7ac3be0c0b651d4ddcd6d58e77c5b4ff to your computer and use it in GitHub Desktop.
Save wozozo/7ac3be0c0b651d4ddcd6d58e77c5b4ff to your computer and use it in GitHub Desktop.
heso% ~ python -V
Python 2.7.10
heso% ~ which python
/usr/local/bin/python
heso% ~ pip install kytea
Collecting kytea
Using cached kytea-0.1.3.tar.gz
Building wheels for collected packages: kytea
Running setup.py bdist_wheel for kytea
Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools;__file__='/private/var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-build-W7xru9/kytea/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/tmpkKuFZjpip-wheel-:
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.11-x86_64-2.7
copying lib/kytea/Mykytea.py -> build/lib.macosx-10.11-x86_64-2.7
running build_ext
building '_Mykytea' extension
creating build/temp.macosx-10.11-x86_64-2.7
creating build/temp.macosx-10.11-x86_64-2.7/lib
creating build/temp.macosx-10.11-x86_64-2.7/lib/kytea
clang -fno-strict-aliasing -fno-common -dynamic -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ilib/kytea -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/kytea/mykytea_wrap.cxx -o build/temp.macosx-10.11-x86_64-2.7/lib/kytea/mykytea_wrap.o
In file included from lib/kytea/mykytea_wrap.cxx:3534:
lib/kytea/mykytea.hpp:10:10: fatal error: 'kytea/kytea.h' file not found
#include <kytea/kytea.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Failed building wheel for kytea
Failed to build kytea
Installing collected packages: kytea
Running setup.py install for kytea
Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-build-W7xru9/kytea/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-M1srGz-record/install-record.txt --single-version-externally-managed --compile:
/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
running install
running build
running build_py
running build_ext
building '_Mykytea' extension
clang -fno-strict-aliasing -fno-common -dynamic -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Ilib/kytea -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c lib/kytea/mykytea_wrap.cxx -o build/temp.macosx-10.11-x86_64-2.7/lib/kytea/mykytea_wrap.o
In file included from lib/kytea/mykytea_wrap.cxx:3534:
lib/kytea/mykytea.hpp:10:10: fatal error: 'kytea/kytea.h' file not found
#include <kytea/kytea.h>
^
1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
Command "/usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-build-W7xru9/kytea/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-M1srGz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/28/0s6y0kld60s7j9xkjg7nmqb80000gn/T/pip-build-W7xru9/kytea
You are using pip version 7.1.2, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
heso% ~ cc -v
Apple LLVM version 7.3.0 (clang-703.0.29)
Target: x86_64-apple-darwin15.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment