conda uninstall pillow
时间: 2024-08-12 07:04:36 浏览: 60
To uninstall Pillow using conda, you can follow these steps:
1. **Ensure you're in your conda environment**: If you're not currently in the environment that has Pillow installed, activate it first by running:
```bash
conda activate <your_environment_name>
```
2. **Uninstall Pillow**: Use the `conda` command to uninstall Pillow. Replace `<package_name>` with "pillow":
```bash
conda remove -c anaconda <package_name> --yes
```
The `--yes` flag confirms the removal without prompting for confirmation.
3. **Verify the uninstallation**: After executing the command, use `conda list` to check if Pillow is still listed as an installed package:
```bash
conda list pillow
```
If Pillow is successfully uninstalled, the command will not return any packages and the output should be empty.
**
阅读全文