ERROR: Cannot uninstall 'certifi'. 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
直接:Cannot uninstall ‘certifi‘. It is a distutils installed project_深度检测的博客-CSDN博客
剩下的都是废话,随便看:
真是一场连锁反应,我首先是调用tensorboard的时候给我报这个错
VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (setuptools 40.4.3 (/usr/local/lib/python2.7/site-packages), Requirement.parse('setuptools>=41.0.0'))
然后找到这个链接的解答,给了一个 pip install --upgrade tensorboard 的答复,我使用这个又出现certifi版本的问题,我就打算去卸载certifi结果卸载又出现了开头的问题,我就去用手删除了这个包,再pip uninstall certifi,还是不行,结果就看到了pip install certifi --ignore-installed,这个解答,一下就可以了,然后tensorboard也可以用了。
macos - tensorboard on mac has VersionConflict error - Stack Overflow
参考资料
Cannot uninstall ‘certifi‘. It is a distutils installed project_深度检测的博客-CSDN博客