ERROR: Cannot uninstall ‘xxx‘. It is a distutils installed project and thus we cannot accurately

今天用安装python包时,报了一个ERROR: Cannot uninstall ‘xxx’. It is a distutils installed project and thus we cannot accurately错误.
解决办法:原来是在jupyter的命令行里! pip install xxx ,改为在anaconda prompt里面运行pip install xxx 成功

你可能感兴趣的:(编辑器,vscode,macos)