libffcv / ffcv

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

pip install ffcv fails! #237

Closed arunpatro-meesho closed 1 year ago

arunpatro-meesho commented 1 year ago

Doing a simple pip install ffcv fails in many machines and OSes. Tried with linux and macos.

Error:

image
andrewilyas commented 1 year ago

Hi! Did you install the dependencies? These instructions should work:

conda create -n ffcv python=3.9 cupy pkg-config compilers libjpeg-turbo opencv pytorch torchvision cudatoolkit=11.3 numba -c pytorch -c conda-forge
conda activate ffcv
pip install ffcv
arunpatro-meesho commented 1 year ago

Not sure why this was not working earlier. I think this is due to some dependency resolver. pip install ffcv numba opencv-python works.