[py-torchvision] added dependency of ffmpeg (#17032)

* [py-torchvision] added dependency of ffmpeg

* [py-torchvision] needs ffmpeg >= 3.1. See: https://github.com/pytorch/vision/issues/1597

* [py-torchvision] ffmpeg dependency is only for py-torchvision versions >= 0.4.2.
This commit is contained in:
Jen Herting
2020-06-16 01:46:35 -04:00
committed by GitHub
parent 0111f2932f
commit d4f0a8f70b

View File

@@ -42,3 +42,5 @@ class PyTorchvision(PythonPackage):
# Many of the datasets require additional dependencies to use.
# These can be installed after the fact.
depends_on('py-scipy', type='test')
depends_on('ffmpeg@3.1:', when='@0.4.2:')