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 v2.3.1 can't be imported in Python 2.7 #5729

Closed
convoliution opened this issue Jul 8, 2020 · 2 comments · Fixed by #5734
Closed

spaCy v2.3.1 can't be imported in Python 2.7 #5729

convoliution opened this issue Jul 8, 2020 · 2 comments · Fixed by #5734
Labels
bug Bugs and behaviour differing from documentation compat Cross-platform and cross-Python compatibility

Comments

@convoliution
Copy link

convoliution commented Jul 8, 2020

How to reproduce the behaviour

python2 -m pip install spaCy==2.3.1
python2 -c "import spacy"

results in

vocab.pyx:18: in init spacy.vocab
    ???
E     File "/home/travis/build/explosion/spaCy/spacy/lemmatizer.py", line 24
E       def __init__(self, lookups, *args, is_base_form=None, **kwargs):
E                                                     ^
E   SyntaxError: invalid syntax

spaCy's Python 2.7 build pipeline on Travis is failing with the same error.

Your Environment

  • Operating System: macOS
  • Python Version Used:
  • spaCy Version Used: 2.3.1
  • Environment Information: clean environment
@adrianeboyd adrianeboyd added bug Bugs and behaviour differing from documentation compat Cross-platform and cross-Python compatibility labels Jul 8, 2020
@adrianeboyd
Copy link
Contributor

Thanks for the report! We'll get this fixed for the next release, v2.3.2.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bugs and behaviour differing from documentation compat Cross-platform and cross-Python compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants