#πŸ”’ Installing spacy failing with wheel build error

12 messages Β· Page 1 of 1 (latest)

deft pumice
#

I am trying to install spacy in a new machine, but I am getting following error when trying to do so.
The error shows up while building wheel for thinc

sonic mapleBOT
#

@deft pumice

Python help channel opened

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.

deft pumice
idle oasis
#

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

dull trellis
#

spacy is thus not compatible with 3.13 at the moment

idle oasis
#

Yeah it's the same with Scrypt. Literally ruined 2 of my projects 😭

dull trellis
#

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

sonic mapleBOT
#
Python help channel closed for inactivity

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.