pip不能安装、升级、卸载软件问题
Cannot uninstall ‘nibabel’. 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.
问题解析:
旧版本依赖多,不能清晰的删除,此时应该忽略旧版本升级,即如下
解决办法:sudo pip install nibabel --ignore-installed nibabel
下载安装
https://www.lfd.uci.edu/~gohlke/pythonlibs/
conda update --all --force-reinstall
conda update conda --force-reinstall
问题解析:
旧版本依赖多,不能清晰的删除,此时应该忽略旧版本升级,即如下
解决办法:sudo pip install nibabel --ignore-installed nibabel
下载安装
https://www.lfd.uci.edu/~gohlke/pythonlibs/
conda update --all --force-reinstall
conda update conda --force-reinstall
Windows10中,用户目录下.condarc
配置为:
channels:
– defaults
# Show channel URLs when displaying what is going to be downloaded and
# in ‘conda list’. The default is False.
show_channel_urls: True
allow_other_channels: True
proxy_servers:
http: socks5://127.0.0.1:1080
https: socks5://127.0.0.1:1080
ssl_verify: False
评论
发表评论