2017-06-12 2 views
1

erstellt wird Ich habe virtualenv (pypy als Compiler) erstellt.Spacy kann nicht in virtualenv installiert werden, das mit pypy

Jetzt, als ich versuchte, Spacy mit Pip installieren, bekomme ich unter Fehler.

Failed to build spacy thinc 
Installing collected packages: thinc, ujson, certifi, chardet, idna, urllib3, requests, regex, webencodings, html5lib, wcwidth, ftfy, spacy 
    Running setup.py install for thinc ... error 
    Complete output from command /Users/azar-4893/Python_Venv/falconpypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-build-F0nppE/thinc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-Thl94z-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/azar-4893/Python_Venv/falconpypy/include/site/python2.7/thinc: 
    running install 
    running build 
    running build_py 
    running build_ext 
    building 'thinc.linalg' extension 
    gcc -pthread -arch x86_64 -DNDEBUG -O2 -fPIC -I/Users/azar-4893/Python_Venv/falconpypy/include -I/private/var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-build-F0nppE/thinc/include -I/Users/azar-4893/Python_Venv/falconpypy/include -c thinc/linalg.cpp -o build/temp.macosx-10.11-x86_64-2.7/thinc/linalg.o -O3 -Wno-strict-prototypes -Wno-unused-function 
    clang: error: no such file or directory: 'thinc/linalg.cpp' 
    clang: error: no input files 
    error: command 'gcc' failed with exit status 1 

    ---------------------------------------- 
Command "/Users/azar-4893/Python_Venv/falconpypy/bin/pypy -u -c "import setuptools, tokenize;__file__='/private/var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-build-F0nppE/thinc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-Thl94z-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/azar-4893/Python_Venv/falconpypy/include/site/python2.7/thinc" failed with error code 1 in /private/var/folders/y1/npxxtb7n3k5d2mb7_5pwsr1xr6pvqq/T/pip-build-F0nppE/thinc/ 

Gibt es eine Möglichkeit, Spacy für Pypy zu installieren?

Antwort

0

spacy eine c-Erweiterungen Modul thinc genannt nutzt seine schweres Heben in C. Die neueste PyPy tun können thinc nicht installiert haben, gibt es mehrere Probleme der Installation blockiert. Here ist eine auf Thinc, und this als noch nicht unterstützter Aufruf zu PyFrozenSet_New in Cytool

Verwandte Themen