pip install 时报错 ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问(已解决)
C:\Users\Administrator>pip install --user administrator spacy
~~~
Requirement already satisfied: smart-open<4.0.0,>=2.2.0 in d:\installed\programd
ata\anaconda3\lib\site-packages (from pathy>=0.3.5->spacy) (3.0.0)
Installing collected packages: spacy
WARNING: The script spacy.exe is installed in 'C:\Users\Administrator\AppData\
Roaming\Python\Python37\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warn
ing, use --no-warn-script-location.
Successfully installed spacy-3.0.5
https://blog.youkuaiyun.com/weixin_44827418/article/details/105443681
spacy库的三种安装方法,推荐第二种
https://blog.youkuaiyun.com/zhangf666/article/details/78527081

本文介绍了解决使用pip安装spacy时遇到的权限错误问题,并提供了成功安装的步骤及注意事项,包括如何将安装目录加入到系统PATH环境变量中。
9万+

被折叠的 条评论
为什么被折叠?



