question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cant install spaCy on my MacOS 10.13.5 (Python 3.7)

See original GitHub issue

How to reproduce the problem

Hi, I’m working on my MacBookPro 2016. I just want to install spaCy but it crasht when I do my pip install spacy

nicolas@ionComputer:~/PycharmProjects/sentenceio$ pip3 install spacy
Collecting spacy
  Using cached https://files.pythonhosted.org/packages/3c/31/e60f88751e48851b002f78a35221d12300783d5a43d4ef12fbf10cca96c3/spacy-2.0.11.tar.gz
Requirement already satisfied: numpy>=1.7 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from spacy) (1.14.5)
Requirement already satisfied: murmurhash<0.29,>=0.28 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from spacy) (0.28.0)
Requirement already satisfied: cymem<1.32,>=1.30 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from spacy) (1.31.2)
Requirement already satisfied: preshed<2.0.0,>=1.0.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from spacy) (1.0.0)
Collecting thinc<6.11.0,>=6.10.1 (from spacy)
  Using cached https://files.pythonhosted.org/packages/55/fd/e9f36081e6f53699943381858848f3b4d759e0dd03c43b98807dde34c252/thinc-6.10.2.tar.gz
Collecting plac<1.0.0,>=0.9.6 (from spacy)
  Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl
Collecting pathlib (from spacy)
  Using cached https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz
Collecting ujson>=1.35 (from spacy)
  Using cached https://files.pythonhosted.org/packages/16/c4/79f3409bc710559015464e5f49b9879430d8f87498ecdc335899732e5377/ujson-1.35.tar.gz
Collecting dill<0.3,>=0.2 (from spacy)
  Using cached https://files.pythonhosted.org/packages/6f/78/8b96476f4ae426db71c6e86a8e6a81407f015b34547e442291cd397b18f3/dill-0.2.8.2.tar.gz
Collecting regex==2017.4.5 (from spacy)
  Using cached https://files.pythonhosted.org/packages/36/62/c0c0d762ffd4ffaf39f372eb8561b8d491a11ace5a7884610424a8b40f95/regex-2017.04.05.tar.gz
Requirement already satisfied: wrapt in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (1.10.11)
Requirement already satisfied: tqdm<5.0.0,>=4.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (4.23.4)
Collecting cytoolz<0.9,>=0.8 (from thinc<6.11.0,>=6.10.1->spacy)
  Using cached https://files.pythonhosted.org/packages/0f/e6/ccc124714dcc1bd511e64ddafb4d5d20ada2533b92e3173a4cf09e0d0831/cytoolz-0.8.2.tar.gz
Requirement already satisfied: six<2.0.0,>=1.10.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from thinc<6.11.0,>=6.10.1->spacy) (1.11.0)
Collecting termcolor (from thinc<6.11.0,>=6.10.1->spacy)
  Using cached https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz
Collecting msgpack-python (from thinc<6.11.0,>=6.10.1->spacy)
  Using cached https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz
Collecting msgpack-numpy==0.4.1 (from thinc<6.11.0,>=6.10.1->spacy)
  Using cached https://files.pythonhosted.org/packages/2e/43/393e30e2768b0357541ac95891f96b80ccc4d517e0dd2fa3042fc8926538/msgpack_numpy-0.4.1-py2.py3-none-any.whl
Requirement already satisfied: toolz>=0.8.0 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from cytoolz<0.9,>=0.8->thinc<6.11.0,>=6.10.1->spacy) (0.9.0)
Installing collected packages: cytoolz, plac, dill, termcolor, pathlib, msgpack-python, msgpack-numpy, thinc, ujson, regex, spacy
  Running setup.py install for cytoolz ... error
    Complete output from command /Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/6z/00b0rbb54rd_rcgh5nfw09w40000gn/T/pip-install-8takmx53/cytoolz/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/var/folders/6z/00b0rbb54rd_rcgh5nfw09w40000gn/T/pip-record-vx2hj1nv/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.6-intel-3.7
    creating build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/compatibility.py -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/utils_test.py -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/_version.py -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/__init__.py -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/_signatures.py -> build/lib.macosx-10.6-intel-3.7/cytoolz
    creating build/lib.macosx-10.6-intel-3.7/cytoolz/curried
    copying cytoolz/curried/operator.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/curried
    copying cytoolz/curried/__init__.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/curried
    copying cytoolz/curried/exceptions.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/curried
    copying cytoolz/itertoolz.pyx -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/dicttoolz.pyx -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/functoolz.pyx -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/recipes.pyx -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/utils.pyx -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/utils.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/__init__.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/recipes.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/functoolz.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/dicttoolz.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/cpython.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    copying cytoolz/itertoolz.pxd -> build/lib.macosx-10.6-intel-3.7/cytoolz
    creating build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_none_safe.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_utils.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_curried.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_compatibility.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_embedded_sigs.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_functoolz.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_inspect_args.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_doctests.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_tlz.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_signatures.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/dev_skip_test.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_recipes.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_docstrings.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_dev_skip_test.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_dicttoolz.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_serialization.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_curried_toolzlike.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    copying cytoolz/tests/test_itertoolz.py -> build/lib.macosx-10.6-intel-3.7/cytoolz/tests
    running build_ext
    building 'cytoolz.dicttoolz' extension
    creating build/temp.macosx-10.6-intel-3.7
    creating build/temp.macosx-10.6-intel-3.7/cytoolz
    /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/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c cytoolz/dicttoolz.c -o build/temp.macosx-10.6-intel-3.7/cytoolz/dicttoolz.o
    cytoolz/dicttoolz.c:8277:65: error: too many arguments to function call, expected 3, have 4
        return (*((__Pyx_PyCFunctionFast)meth)) (self, args, nargs, NULL);
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                     ^~~~
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.1.0/include/stddef.h:105:16: note: expanded from macro 'NULL'
    #  define NULL ((void*)0)
                   ^~~~~~~~~~
    1 error generated.
    error: command '/usr/bin/clang' failed with exit status 1
    
    ----------------------------------------
Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c "import setuptools, tokenize;__file__='/private/var/folders/6z/00b0rbb54rd_rcgh5nfw09w40000gn/T/pip-install-8takmx53/cytoolz/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/var/folders/6z/00b0rbb54rd_rcgh5nfw09w40000gn/T/pip-record-vx2hj1nv/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/6z/00b0rbb54rd_rcgh5nfw09w40000gn/T/pip-install-8takmx53/cytoolz/

Your Environment

  • Operating System: MacOS 10.13.5
  • Python Version Used: Python 3.7.0a1
  • spaCy Version Used: v2.0.11
  • Environment Information: PyCharm 2018.1.4

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
inescommented, Jul 21, 2018

Sorry this took a bit longer – we also pushed an update to preshed, had to fix a few other dependency issues, and then decided to include a bunch of stuff that was originally only going to be shipped with v2.1.x. So spaCy v2.0.12 turned into a much bigger release.

But I just tested installing spaCy on Python 3.7 and it all seems to work fine now 🎉

7reactions
ss-remygreinhofercommented, Jul 12, 2018

Same issue for me. It looks like to me that the guilty package is cytools 0.8.2 which does not work with python 3.7 (Collecting cytoolz<0.9,>=0.8 (from thinc<6.11.0,>=6.10.1->spacy)).

Updating it to 0.9.0.1 would solve it.

``` cd $(mktemp -d) python3 -m venv venv source venv/bin/activate python --version # Python 3.7.0 pip install -U spacy # pip output Collecting spacy Using cached https://files.pythonhosted.org/packages/3c/31/e60f88751e48851b002f78a35221d12300783d5a43d4ef12fbf10cca96c3/spacy-2.0.11.tar.gz Collecting numpy>=1.7 (from spacy) Using cached https://files.pythonhosted.org/packages/a0/31/f01ac16f0e8adbb94cd4e3de4920b49a470cf4ca7d452eefd960d4b0248f/numpy-1.14.5-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting murmurhash<0.29,>=0.28 (from spacy) Using cached https://files.pythonhosted.org/packages/5e/31/c8c1ecafa44db30579c8c457ac7a0f819e8b1dbc3e58308394fff5ff9ba7/murmurhash-0.28.0.tar.gz Collecting cymem<1.32,>=1.30 (from spacy) Using cached https://files.pythonhosted.org/packages/f8/9e/273fbea507de99166c11cd0cb3fde1ac01b5bc724d9a407a2f927ede91a1/cymem-1.31.2.tar.gz Collecting preshed<2.0.0,>=1.0.0 (from spacy) Using cached https://files.pythonhosted.org/packages/1b/ac/7c17b1fd54b60972785b646d37da2826311cca70842c011c4ff84fbe95e0/preshed-1.0.0.tar.gz Collecting thinc<6.11.0,>=6.10.1 (from spacy) Using cached https://files.pythonhosted.org/packages/55/fd/e9f36081e6f53699943381858848f3b4d759e0dd03c43b98807dde34c252/thinc-6.10.2.tar.gz Collecting plac<1.0.0,>=0.9.6 (from spacy) Using cached https://files.pythonhosted.org/packages/9e/9b/62c60d2f5bc135d2aa1d8c8a86aaf84edb719a59c7f11a4316259e61a298/plac-0.9.6-py2.py3-none-any.whl Collecting pathlib (from spacy) Using cached https://files.pythonhosted.org/packages/ac/aa/9b065a76b9af472437a0059f77e8f962fe350438b927cb80184c32f075eb/pathlib-1.0.1.tar.gz Collecting ujson>=1.35 (from spacy) Using cached https://files.pythonhosted.org/packages/16/c4/79f3409bc710559015464e5f49b9879430d8f87498ecdc335899732e5377/ujson-1.35.tar.gz Collecting dill<0.3,>=0.2 (from spacy) Using cached https://files.pythonhosted.org/packages/6f/78/8b96476f4ae426db71c6e86a8e6a81407f015b34547e442291cd397b18f3/dill-0.2.8.2.tar.gz Collecting regex==2017.4.5 (from spacy) Using cached https://files.pythonhosted.org/packages/36/62/c0c0d762ffd4ffaf39f372eb8561b8d491a11ace5a7884610424a8b40f95/regex-2017.04.05.tar.gz Collecting wrapt (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz Collecting tqdm<5.0.0,>=4.10.0 (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/93/24/6ab1df969db228aed36a648a8959d1027099ce45fad67532b9673d533318/tqdm-4.23.4-py2.py3-none-any.whl Collecting cytoolz<0.9,>=0.8 (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/0f/e6/ccc124714dcc1bd511e64ddafb4d5d20ada2533b92e3173a4cf09e0d0831/cytoolz-0.8.2.tar.gz Collecting six<2.0.0,>=1.10.0 (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting termcolor (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz Collecting msgpack-python (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz Collecting msgpack-numpy==0.4.1 (from thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/2e/43/393e30e2768b0357541ac95891f96b80ccc4d517e0dd2fa3042fc8926538/msgpack_numpy-0.4.1-py2.py3-none-any.whl Collecting toolz>=0.8.0 (from cytoolz<0.9,>=0.8->thinc<6.11.0,>=6.10.1->spacy) Using cached https://files.pythonhosted.org/packages/14/d0/a73c15bbeda3d2e7b381a36afb0d9cd770a9f4adc5d1532691013ba881db/toolz-0.9.0.tar.gz Installing collected packages: numpy, murmurhash, cymem, preshed, wrapt, tqdm, toolz, cytoolz, plac, six, dill, termcolor, pathlib, msgpack-python, msgpack-numpy, thinc, ujson, regex, spacy Running setup.py install for murmurhash ... done Running setup.py install for cymem ... done Running setup.py install for preshed ... error Complete output from command /private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/tmp.EbYC1dls/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-install-rrtksggk/preshed/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/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-record-wmngyecd/install-record.txt --single-version-externally-managed --compile --install-headers /private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/tmp.EbYC1dls/venv/include/site/python3.7/preshed: running install running build running build_py creating build creating build/lib.macosx-10.13-x86_64-3.7 creating build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/about.py -> build/lib.macosx-10.13-x86_64-3.7/preshed creating build/lib.macosx-10.13-x86_64-3.7/preshed/tests copying preshed/tests/__init__.py -> build/lib.macosx-10.13-x86_64-3.7/preshed/tests copying preshed/tests/test_pop.py -> build/lib.macosx-10.13-x86_64-3.7/preshed/tests copying preshed/tests/test_counter.py -> build/lib.macosx-10.13-x86_64-3.7/preshed/tests copying preshed/tests/test_hashing.py -> build/lib.macosx-10.13-x86_64-3.7/preshed/tests copying preshed/counter.pyx -> build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/maps.pyx -> build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/maps.pxd -> build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/__init__.pxd -> build/lib.macosx-10.13-x86_64-3.7/preshed copying preshed/counter.pxd -> build/lib.macosx-10.13-x86_64-3.7/preshed running build_ext building 'preshed.maps' extension creating build/temp.macosx-10.13-x86_64-3.7 creating build/temp.macosx-10.13-x86_64-3.7/preshed clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-install-rrtksggk/preshed/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/tmp.EbYC1dls/venv/include -I/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c preshed/maps.cpp -o build/temp.macosx-10.13-x86_64-3.7/preshed/maps.o -O3 -Wno-strict-prototypes -Wno-unused-function preshed/maps.cpp:1128:35: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare] __pyx_t_1 = ((__pyx_v_power < __pyx_v_initial_size) != 0); ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ preshed/maps.cpp:1564:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:1556:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 48; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:1835:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:1827:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:2610:138: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:2602:137: warning: code will never be executed [-Wunreachable-code] __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_4); __Pyx_INCREF(__pyx_t_1); __pyx_t_4++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; __pyx_clineno = __LINE__; goto __pyx_L1_error;} ^~~~~~~ preshed/maps.cpp:3614:34: warning: comparison of integers of different signs: 'int' and 'const __pyx_t_7preshed_4maps_key_t' (aka 'const unsigned long long') [-Wsign-compare] __pyx_t_1 = (((__pyx_v_i[0]) < __pyx_v_map_->length) != 0); ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ preshed/maps.cpp:3701:32: warning: comparison of integers of different signs: 'int' and 'const __pyx_t_7preshed_4maps_key_t' (aka 'const unsigned long long') [-Wsign-compare] __pyx_t_1 = (((__pyx_v_i[0]) == __pyx_v_map_->length) != 0); ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ preshed/maps.cpp:3778:32: warning: comparison of integers of different signs: 'int' and 'unsigned long long' [-Wsign-compare] __pyx_t_1 = (((__pyx_v_i[0]) == (__pyx_v_map_->length + 1)) != 0); ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ preshed/maps.cpp:6642:24: error: no member named 'exc_type' in '_ts' tmp_type = tstate->exc_type; ~~~~~~ ^ preshed/maps.cpp:6643:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tmp_value = tstate->exc_value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ preshed/maps.cpp:6644:22: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tmp_tb = tstate->exc_traceback; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ preshed/maps.cpp:6645:13: error: no member named 'exc_type' in '_ts' tstate->exc_type = *type; ~~~~~~ ^ preshed/maps.cpp:6646:13: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'? tstate->exc_value = *value; ^~~~~~~~~ curexc_value /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:237:15: note: 'curexc_value' declared here PyObject *curexc_value; ^ preshed/maps.cpp:6647:13: error: no member named 'exc_traceback' in '_ts'; did you mean 'curexc_traceback'? tstate->exc_traceback = *tb; ^~~~~~~~~~~~~ curexc_traceback /usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here PyObject *curexc_traceback; ^ 10 warnings and 6 errors generated. error: command 'clang' failed with exit status 1
----------------------------------------

Command “/private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/tmp.EbYC1dls/venv/bin/python3 -u -c “import setuptools, tokenize;file=‘/private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-install-rrtksggk/preshed/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/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-record-wmngyecd/install-record.txt --single-version-externally-managed --compile --install-headers /private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/tmp.EbYC1dls/venv/include/site/python3.7/preshed” failed with error code 1 in /private/var/folders/nc/5sdcykxd01x_pkjyh0dkvgpr0000gp/T/pip-install-rrtksggk/preshed/

</details>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Install spaCy · spaCy Usage Documentation
spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more....
Read more >
macos sierra - Issue with install Spacy - Stack Overflow
The best way to download Spacy and work with it is to download it manually and link it. Below command is used to...
Read more >
Install and use spacy models - ProjectPro
Step 1 - Install Spacy using pip command !pip install spacy ; Step 2 - Download best matching version of specific model for...
Read more >
spacy 2.2.4 - PyPI
Install spaCy · Operating system: macOS / OS X · Linux · Windows (Cygwin, MinGW, Visual Studio) · Python version: Python 2.7, 3.5+...
Read more >
How to make spaCy work on a non-networked computer (or ...
We're installing the spaCy natural language processing (NLP) software. ... Older versions of the Mac OS come with Python 2.7 pre-installed, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found