I was trying to install the spacy module with Thonny 3.2.7 in Windows 10 Home 64-bit, and I've been getting an error message. When I go to Tools-->Manage Packages-->"Then type in spacy"-->"Then click install". It tries to install it but returns the error message:
"Collecting spacy
Installing build dependencies: started
Installing build dependencies: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\crovn\AppData\Local\Programs\Thonny\python.exe' 'C:\Users\crovn\AppData\Local\Programs\Thonny\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\crovn\AppData\Local\Temp\pip-build-env-5gqy24n9\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i
https://pypi.org/simple -- setuptools wheel 'cython>=0.25' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' thinc==7.4.1
cwd: None
Complete output (60 lines):
Collecting setuptools
Collecting wheel
Collecting cython>=0.25
Collecting cymem<2.1.0,>=2.0.2
Collecting preshed<3.1.0,>=3.0.2
Collecting murmurhash<1.1.0,>=0.28.0
Collecting thinc==7.4.1
Collecting blis<0.5.0,>=0.4.0 (from thinc==7.4.1)
Collecting wasabi<1.1.0,>=0.0.9 (from thinc==7.4.1)
Collecting srsly<1.1.0,>=0.0.6 (from thinc==7.4.1)
Collecting catalogue<1.1.0,>=0.0.7 (from thinc==7.4.1)
Collecting numpy>=1.7.0 (from thinc==7.4.1)
Collecting plac<1.2.0,>=0.9.6 (from thinc==7.4.1)
Collecting tqdm<5.0.0,>=4.10.0 (from thinc==7.4.1)
Collecting importlib-metadata>=0.20; python_version < "3.8" (from catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Collecting zipp>=0.5 (from importlib-metadata>=0.20; python_version < "3.8"->catalogue<1.1.0,>=0.0.7->thinc==7.4.1)
Installing collected packages: setuptools, wheel, cython, cymem, murmurhash, preshed, numpy, blis, wasabi, srsly, zipp, importlib-metadata, catalogue, plac, tqdm, thinc
Running setup.py install for cymem: started
Running setup.py install for cymem: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: 'C:\Users\crovn\AppData\Local\Programs\Thonny\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\crovn\\AppData\\Local\\Temp\\pip-install-2_8q46_c\\cymem\\setup.py'"'"'; __file__='"'"'C:\\Users\\crovn\\AppData\\Local\\Temp\\pip-install-2_8q46_c\\cymem\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\crovn\AppData\Local\Temp\pip-record-44sgthdz\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\crovn\AppData\Local\Temp\pip-build-env-5gqy24n9\overlay' --compile
cwd: C:\Users\crovn\AppData\Local\Temp\pip-install-2_8q46_c\cymem\
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build\lib.win32-3.7
creating build\lib.win32-3.7\cymem
copying cymem\about.py -> build\lib.win32-3.7\cymem
copying cymem\__init__.py -> build\lib.win32-3.7\cymem
package init file 'cymem\tests\__init__.py' not found (or not a regular file)
creating build\lib.win32-3.7\cymem\tests
copying cymem\tests\test_import.py -> build\lib.win32-3.7\cymem\tests
copying cymem\cymem.pyx -> build\lib.win32-3.7\cymem
copying cymem\cymem.pxd -> build\lib.win32-3.7\cymem
copying cymem\__init__.pxd -> build\lib.win32-3.7\cymem
running build_ext
building 'cymem.cymem' extension
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\crovn\AppData\Local\Programs\Thonny\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\crovn\\AppData\\Local\\Temp\\pip-install-2_8q46_c\\cymem\\setup.py'"'"'; __file__='"'"'C:\\Users\\crovn\\AppData\\Local\\Temp\\pip-install-2_8q46_c\\cymem\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\crovn\AppData\Local\Temp\pip-record-44sgthdz\install-record.txt' --single-version-externally-managed --prefix 'C:\Users\crovn\AppData\Local\Temp\pip-build-env-5gqy24n9\overlay' --compile Check the logs for full command output.
WARNING: You are using pip version 19.2.3, however version 20.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\crovn\AppData\Local\Programs\Thonny\python.exe' 'C:\Users\crovn\AppData\Local\Programs\Thonny\lib\site-packages\pip' install --ignore-installed --no-user --prefix 'C:\Users\crovn\AppData\Local\Temp\pip-build-env-5gqy24n9\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i
https://pypi.org/simple -- setuptools wheel 'cython>=0.25' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' thinc==7.4.1 Check the logs for full command output.
Process failed, return code: 1"
I am not sure how to fix this. Also, it is giving me a warning message that I am using the old version of pip. But when i go to try to upgrade pip in Tools-->Manage Packages no upgrade button is shown. How do I upgrade pip and how do I install spacy?