conda下创建虚拟环境: 'setuptools' is a dependency of conda and cannot be removed from conda operating env

作为python开发,总会有需要不同虚拟环境的时候,Anaconda作为Python程序员最喜爱的集成开发工具之一无疑也内置了这个选项。废话不多说,直接上图

conda下创建虚拟环境: 'setuptools' is a dependency of conda and cannot be removed from conda operating env_第1张图片

尴尬了,想要创建个新的虚拟环境怕了这个什么错误。于是乎度娘上找呗,度娘老是让我失望,直接上Stack Overflow吧,找到解决办法了https://stackoverflow.com/questions/54392995/removeerror-requests-is-a-dependency-of-conda-and-cannot-be-removed-from-cond,在操作conda之前都执行conda update conda更新一下吧, 问题解决!

conda下创建虚拟环境: 'setuptools' is a dependency of conda and cannot be removed from conda operating env_第2张图片

你可能感兴趣的:(Python,工具)