在Pycharm上直接uninstall卸载包报错如下:
并且在anaconda的Python环境终端下下使用conda命令卸载包也会报错
卸载命令:
//pyqt5为你要卸载的包名
conda uninstall pyqt5
报错内容:PackagesNotFoundError: The following packages are missing from the target environment:
解决方法:使用pip命令卸载
pip uninstall pyqt5
结果如下:
正常卸载,问题解决。