libffcv / ffcv

FFCV: Fast Forward Computer Vision (and other ML workloads!)
https://ffcv.io
Apache License 2.0
2.83k stars 178 forks source link

Ambiguous exception during package setup #107

Closed bsmietanka closed 2 years ago

bsmietanka commented 2 years ago

When installing the package, e.g. via pip, and there's no libturbojpeg or opencv4 package an ambiguous bare Exception() is raised, without any information about what went wrong:

https://github.com/libffcv/ffcv/blob/3d8eb68017519a6a6fb33c87491021f80bbcf0e5/setup.py#L18

andrewilyas commented 2 years ago

Hi! We will get to this soon---feel free to submit a PR.

bsmietanka commented 2 years ago

Thanks, I submitted a PR