Cap Pillow and other dependencies
pvk-developer opened this issue · comments
There have been some updates to Pillow
which makes Torchvision
to fail trying to import PILLOW_VERSION
from PIL
.
There's now a new release of torchvision (0.5.0) that works with the newest Pillow version (7.0.0).
An alternative to #52 is updating the torchvision pin from 0.2.1 to 0.5.0.
There's now a new release of torchvision (0.5.0) that works with the newest Pillow version (7.0.0).
An alternative to #52 is updating the torchvision pin from 0.2.1 to 0.5.0.
Hi @hugovk and thank you for your anwser. I will check out if SteganoGAN
is working properly with that version of torchvision
and if everything is okay I will proceed to update it to torchvision==0.5.0
.
Update:
ERROR: torchvision 0.5.0 has requirement torch==1.4.0, but you'll have torch 1.0.0 which is incompatible.
Unfortunately we are using torch 1.0.0
and at the moment we are not planing to update it to 1.4.0
or bigger. I belive that we will go on installing everything as it was from development and just dedicate more time on updating the code in the future.
You can also now upgrade to Pillow 7.1.0+, which reintroduced PILLOW_VERSION
to allow projects some more time to update.
https://pillow.readthedocs.io/en/stable/releasenotes/7.1.0.html#pillow-version-constant