标签:解决 安装 nbsp 安装路径 environ long ide install err
1. 当uninstall或者upgrade包时遇到类似下面的问题时:
It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解决:在安装路径下找到“XXX.egg-info”文件,然后删除它。稍后再继续后面uninstall或者upgrade包的操作。
2. 当install时遇到类似的问题:
ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。
Consider using the `--user` option or check the permissions.
解决:在pip语句的最后面添加‘--user‘即可,例如:
pip install XXX --user
3. 更新单个包
pip install --upgrade XXX
4. 卸载某包
pip uninstall XXX
标签:解决 安装 nbsp 安装路径 environ long ide install err
原文地址:https://www.cnblogs.com/pandas-blue/p/11869177.html