-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Open
Labels
Description
🐛 Bug
torchvision Conda package, at least with v0.10.0, depends on pillow, which complicates using pillow-SIMD.
To Reproduce
Steps to reproduce the behavior:
- Install torchvision with Conda.
- Try to uninstall pillow, but would try to uninstall torchvision. Alternatively, you can do
conda remove --force pillowto only remove it, but the environment will be in an inconsistent state. It's the best workaround AFAIK though. - Install pillow-SIMD.
Expected behavior
The expected behavior would be to be able to choose between pillow and pillow-SIMD, or be able to uninstall pillow without breaking things, and then install pillow-SIMD. After this, every time you try installing something with conda, it's gonna try to install pillow again.
Maybe pillow shouldn't be a dependency then? Maybe the ideal solution is to pillow-SIMD to provide a conda package called pillow, or something like that (or like a virtual package to support both?).
SeguinBe