Error building dependencies when installing spaCy #12067
-
NonLLVM-Output.txt Trying to install spaCy using pip threw an error at me when trying to install the module "thinc". Looking at the logs, it seemed to me that it was failing due to this error:
I realized that it was attempting to use clang by LLVM and I did not have that application installed on my machine. (You can read the logs up to this point using the txt file titled "NonLLVM-Output.txt). I went ahead and installed it even though the documentation for installing spaCy did not indicate that this was needed to install this module. After doing so, I ran the install command again and was presented with a different error (which can be found in the logs inside the "LLVM-output.txt"). At this point, I feel that something is going wrong and can't seem to pinpoint what it could be. Hoping I can get a second eye on this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
LLVM is required to build BLIS, which is a dependency of the Thinc ML library that spaCy relies on. This is usually not a requirement for end-users as we provide pre-built BLIS binaries for most major platforms and OSes, but it seems like you're currently running a 32-bit version of Python. Could you upgrade to a 64-bit version of Python, upgrade |
Beta Was this translation helpful? Give feedback.
LLVM is required to build BLIS, which is a dependency of the Thinc ML library that spaCy relies on. This is usually not a requirement for end-users as we provide pre-built BLIS binaries for most major platforms and OSes, but it seems like you're currently running a 32-bit version of Python.
Could you upgrade to a 64-bit version of Python, upgrade
pip
to the latest version and try to reinstall spaCy? That ought to automatically download the pre-built binary wheels for Windows.