Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spacy installation fail - lemmatizer.py - Syntax error at line 0 #478

Open
justinpolackal opened this issue Mar 27, 2018 · 1 comment
Open

Comments

@justinpolackal
Copy link

justinpolackal commented Mar 27, 2018

spacy installation fails on Ubuntu 16.04 server.

$pip install spacy --no-cache-dir
Complete log of compilation attached for reference.
spacy-error-screen.txt

    copying build/lib.linux-x86_64-2.7/spacy/gold.so -> /usr/local/lib/python2.7/dist-packages/spacy
    byte-compiling /usr/local/lib/python2.7/dist-packages/spacy/lang/tr/lemmatizer.py to lemmatizer.pyc
      File "/usr/local/lib/python2.7/dist-packages/spacy/lang/tr/lemmatizer.py", line 0
    SyntaxError
    
    byte-compiling /usr/local/lib/python2.7/dist-packages/spacy/lang/sv/lemmatizer/lookup.py to lookup.pyc
    
    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-aRJ2HF/spacy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-BVGzKY-record/install-record.txt --single-version-externally-managed --compile" failed with error code -9 in /tmp/pip-build-aRJ2HF/spacy/
-------------------------------------------
@temoto
Copy link
Member

temoto commented Mar 27, 2018

Is it a joke?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants