#π Installing spacy failing with wheel build error
12 messages Β· Page 1 of 1 (latest)
@deft pumice
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Try downgrading your version of python to the most recent below your current - ie go from 3.13 to 3.12. This worked when I had a similar problem to yours
I believe there is a way to build wheels for it, so if you're wanting to do that, that might be an alternative option
this is correct, python 3.13 did some internal changes in furtherance of gil removal and deprecation of old features that has caused spacy to need significant updates
spacy is thus not compatible with 3.13 at the moment
Yeah it's the same with Scrypt. Literally ruined 2 of my projects π
3.13 is new. Large, especially NN libraries, are historically slow to update for exactly these reasons
You're able to keep 3.12 and 3.13 installed and use them for their appropriate projects
This is because they're built heavily on C/C++ backends, which are much harder to upgrade and keep in sync than python ones. Unfortunately, that difficulty comes directly from the complexity that gives them their speed, so there's really no good way around it in the forseeable future
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.