找不到 Spacy 更新 msvc [英] Spacy Update msvc not found
问题描述
我正在尝试将 spacy 从 2.0.18 版更新到 2.1.1 版.但是每次我尝试运行命令时
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
或
pip install -U spacy==2.1.1
我刚收到
error: [WinError 2] System cannot find file specified
msvc
py_compiler msvc
有很多不可读的输出.现在我认为它与 C++ 编译器 spacy 的使用有关,我像在 Microsoft Visual 网站上找到的每个包一样安装,但我的问题没有解决.
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!
推荐答案
很可能,您在使用 32 位 python 可执行文件的 64 位机器上.删除 32 位版本的 python 并安装 64 位版本的 python 它将工作.
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.
如果你在 virtualenv 中工作,那么在安装 64 位 python 后删除 virtualenv 并重新创建它.
If you where working within a virtualenv, then delete the virtualenv and recreate it again after installing the 64-bit of python.
这篇关于找不到 Spacy 更新 msvc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!