Reputation: 145
I'trying to update spacy from version 2.0.18 to version 2.1.1. But every time I try to run the command
pip install spacy-nightly
or
pip install -U spacy==2.1.1
I just get
error: [WinError 2] System cannot find file specified
msvc
py_compiler msvc
with a lot of unreadable output. Now I figured it has something to do with the C++ compiler spacy uses and I installed like every package I found at the Microsoft Visual Website but my problem didnt solve itself.
I really would appreciate some help!
Upvotes: 1
Views: 1952
Reputation: 56
Most probably, you are on a 64-bit machine using a 32-bit python executable. Remove the 32-bit version of python and Install the 64 bit version of python it will work.
If you where working within a virtualenv, then delete the virtualenv and recreate it again after installing the 64-bit of python.
Upvotes: 3