解决RemoveError: ‘setuptools‘ is a dependency of conda...的报错,and Setuptools是什么?

使用Pycharm的Settings选项安装graphviz包的时候报错:
RemoveError: ‘setuptools’ is a dependency of conda and cannot be removed from conda’s operating environment.
最终在Terminal中使用conda update --force conda解决问题。
不过有以下提示,未来可能无法使用该命令:

WARNING: The --force flag will be removed in a future conda release.
         See 'conda update --help' for details about the --force-reinstall
         and --clobber flags.

成功!
解决RemoveError: ‘setuptools‘ is a dependency of conda...的报错,and Setuptools是什么?_第1张图片
最后,我查看了一下官方文档Setuptools,
解决RemoveError: ‘setuptools‘ is a dependency of conda...的报错,and Setuptools是什么?_第2张图片
意思是:
Setuptools是对Python distutils的增强的集合,允许开发人员更轻松地构建和分发Python软件包,尤其是依赖于其他软件包的软件包。
使用setuptools构建和分发的软件包面向用户,类似于基于distutils的普通Python软件包。

你可能感兴趣的:(Debug,python)