Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

spacy installation error while installing build depeendencies

Tags:

python-3.x

pip

Collecting spacy<2.2,>=2.1 Using cached spacy-2.1.9.tar.gz (30.7 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: 'c:\users\vignesh\appdata\local\programs\python\python38\python.exe' 'c:\users\vignesh\appdata\local\programs\python\python38\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\Vignesh\AppData\Local\Temp\pip-build-env-9opljrjo\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'wheel>0.32.0,<0.33.0' Cython 'cymem>=2.0.2,<2.1.0' 'preshed>=2.0.1,<2.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=7.0.8,<7.1.0'

like image 602
mystic lightning Avatar asked Oct 17 '25 13:10

mystic lightning


1 Answers

Try to run

pip install --upgrade setuptools

Then

pip install --upgrade chatterbot

If that doesn't work then check if you are using 32 bit Python. Spacy has dropped support for 32 bit and so you'll need to use 64 bit Python.

like image 151
Samrat Sahoo Avatar answered Oct 19 '25 08:10

Samrat Sahoo