-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Cannot install spaCy 3.8 in python3.8 environment #13625
Comments
Hi, I just encountered the same error when trying to setup docker environment using python 3.8 and latest spacy version. Hope they fix it soon. |
I'm the same too. my Python version is 3.8.19. |
There was a problem with the metadata on that release. It shouldn't list support for older Pythons. I've yanked the release and am rebuilding. Python only allows you to have one version of each library in the tree at once, and spaCy cannot support both numpy v1 and numpy v2 as they're binary incompatible. We need to update the pin to allow people to use spaCy with other libraries that require numpy v2. If numpy v2 doesn't support Python 3.8, this means spaCy can't support it either. The only solution is to update your Python, or continue using the version of spaCy that's been working for you. Python versions release every year now, which means the build matrix will grow quickly for libraries like numpy and spaCy that need to build wheels for each version of Python. This means libraries have to prune support for older Pythons, and you'll need to update your Python version periodically in order to keep using new library releases in the ML/data stack. |
For python 3.8, spacy version 3.7.6 worked for me. FYI, python 3.8 is being deprecated in 2024-10. Hence, best to upgrade python. |
spacy version 3.7.6 is deleted now. I use spacy==3.7.6a |
Spacy Team, This is added in latest version of spacy in requirements.txt:
Is it correct? may be this is the reason the latest version is not installing for py3.8.x version.. |
How to reproduce the behaviour
On a clean environment with python 3.8 and pip, try pip install spaCy==3.8
Your Environment
The text was updated successfully, but these errors were encountered: