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

How to install ffcv using virtual environment? #95

Closed Joshua-Ren closed 2 years ago

Joshua-Ren commented 2 years ago

Hey, thanks very much for the awesome work! I'm wondering how could I install ffcv using the virtual environment.

GuillaumeLeclerc commented 2 years ago

Hello,

virtual environment manages pip packages. However two of dependencies libturbojpeg and opencv are not python package but C++ libraries. You can install them however you feel like (your operating system manager, conda, built from source etc....). Once this is done you should be able to just do pip install.