Spacy: Cant install spaCy on my MacOS 10.13.5 (Python 3.7)

Created on 28 Jun 2018  Â·  14Comments  Â·  Source: explosion/spaCy

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
install osx pip

Most helpful comment

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 🎉

All 14 comments

Similar problem here, it seems it has trouble with Python 3.7 stable.

I tried with pip3 install --pre spacy to use the binary, but still it tries to compile the preshed dependency and it fails with a compile error

preshed/maps.cpp:6643:25: error: no member named 'exc_value' in '_ts'; did you mean 'curexc_value'?


Complete log of the error

pip3 install --pre spacy
Collecting spacy
Using cached https://files.pythonhosted.org/packages/25/e6/c61c69d61375050da4dfdadfd9a03624694810386ff9add98b981089c08a/spacy-2.0.12.dev0.tar.gz
Requirement already satisfied: numpy>=1.7 in ./.scientific_jupyter/lib/python3.7/site-packages (from spacy) (1.14.5)
Requirement already satisfied: murmurhash<0.29,>=0.28 in ./.scientific_jupyter/lib/python3.7/site-packages (from spacy) (0.28.0)
Requirement already satisfied: cymem<1.32,>=1.30 in ./.scientific_jupyter/lib/python3.7/site-packages (from spacy) (1.31.2)
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
Requirement already satisfied: six<2.0.0,>=1.10.0 in ./.scientific_jupyter/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
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: preshed, wrapt, tqdm, toolz, cytoolz, plac, dill, termcolor, pathlib, msgpack-python, msgpack-numpy, thinc, ujson, regex, spacy
Running setup.py install for preshed ... error
Complete output from command /Users/jacopo/.scientific_jupyter/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-install-t4ut2bb7/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/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-record-9u9zmvqj/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jacopo/.scientific_jupyter/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/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-install-t4ut2bb7/preshed/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/Users/jacopo/.scientific_jupyter/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 "/Users/jacopo/.scientific_jupyter/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-install-t4ut2bb7/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/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-record-9u9zmvqj/install-record.txt --single-version-externally-managed --compile --install-headers /Users/jacopo/.scientific_jupyter/include/site/python3.7/preshed" failed with error code 1 in /private/var/folders/n5/w9dlybld3sjdd1ptm6t31vtc0000gn/T/pip-install-t4ut2bb7/preshed/

For now I'm installing Conda which is based on Python 3.6, Python 3.7 went stable a few days ago and I guess some native C++ will need adaptations

Same problem here.

Same problem for me

Using python 3.6 instead of 3.7 solved it for me.

Python 3.7 just came out, and while I don't think there's any deep incompatibilities, I think we do need to add specifiers for the new version to our various dependencies.

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/

Same issue here - I've had to downgrade to python 3.6 to be able to use spaCy, but that causes me problems elsewhere :(

Same issue here - running install
running build
running build_py
running build_ext
building 'preshed.maps' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I/private/var/folders/gh/dgb7j04n5rsbwbmw8g91s13h0000gp/T/pip-install-6h6pz_v4/preshed/include -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c preshed/maps.cpp -o build/temp.macosx-10.9-x86_64-3.7/preshed/maps.o -O3 -Wno-strict-prototypes -Wno-unused-function
clang: error: no such file or directory: 'preshed/maps.cpp'
clang: error: no input files
error: command 'gcc' 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/gh/dgb7j04n5rsbwbmw8g91s13h0000gp/T/pip-install-6h6pz_v4/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/gh/dgb7j04n5rsbwbmw8g91s13h0000gp/T/pip-record-qee4y_ji/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/gh/dgb7j04n5rsbwbmw8g91s13h0000gp/T/pip-install-6h6pz_v4/preshed/

Thanks for sharing more details! cytoolz is a dependency of Thinc, so I just updated the version pin on the 6.10.x branch that's compatible with spaCy v2.0.x. See 4ce7854.

Once that's green, we should be able to ship a patch release of Thinc that will make spaCy v2.0.11 installable/compilable on Python 3.7.

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 🎉

Spacy v2 installs perfectly on 3.7.0 however Spacy v1 does not install. It's the same issue with cytools. We still use Spacy v1 in production because of it's faster for our usage.

i've got a slight different output while downloading the en library, while has warning on some numpy.dtype

(venv) kenny$ python -m spacy download en
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192, got 176
  return f(*args, **kwds)
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
  return f(*args, **kwds)

Some confusion here couldn't have figured it out.

Organic-2:~ organic$ brew link python3
Warning: Already linked: /usr/local/Cellar/python/3.7.0
To relink: brew unlink python && brew link python
Organic-2:~ organic$ mkvirtualenv py1
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.7'
New python executable in /Users/organic/.virtualenvs/py1/bin/python3.7
Not overwriting existing python script /Users/organic/.virtualenvs/py1/bin/python (you must use /Users/organic/.virtualenvs/py1/bin/python3.7)
Installing setuptools, pip, wheel...done.
/usr/local/opt/python/bin/python3.7: Error while finding module specification for 'virtualenvwrapper.hook_loader' (ModuleNotFoundError: No module named 'virtualenvwrapper')

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smartinsightsfromdata picture smartinsightsfromdata  Â·  3Comments

nadachaabani1 picture nadachaabani1  Â·  3Comments

peterroelants picture peterroelants  Â·  3Comments

ahalterman picture ahalterman  Â·  3Comments

ajayrfhp picture ajayrfhp  Â·  3Comments