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