PackagesNotFoundError: The following packages are missing from the target environment:

在Pycharm上直接uninstall卸载包报错如下:
PackagesNotFoundError: The following packages are missing from the target environment:_第1张图片
并且在anaconda的Python环境终端下下使用conda命令卸载包也会报错
卸载命令:

//pyqt5为你要卸载的包名
conda uninstall pyqt5

报错内容:PackagesNotFoundError: The following packages are missing from the target environment:
PackagesNotFoundError: The following packages are missing from the target environment:_第2张图片
解决方法:使用pip命令卸载

pip uninstall pyqt5

结果如下:
PackagesNotFoundError: The following packages are missing from the target environment:_第3张图片
正常卸载,问题解决。

你可能感兴趣的:(BUG)