libffcv / ffcv

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

How to install the library in google colab notebook? #118

Closed Redevic closed 2 years ago

Redevic commented 2 years ago

Hi, i try install ffcv in google colab using !pip install ffcv but i get an error : ERROR: Could not find a version that satisfies the requirement ffcv (from versions: 0.0.1, 0.0.2, 0.0.3rc1, 0.0.3) ERROR: No matching distribution found for ffcv. image

GuillaumeLeclerc commented 2 years ago

Hello,

Unfortunately this is beyond our control. Colab only works with python 3.7.2 and FFCV requires at least 3.8. There is no change we could do to support 3.7 because multiprocessing.shared_memory was released as part of the standard library for python 3.8 As soon as Colab updates to 3.8 you should re-open this issue and we will provide an example

Redevic commented 2 years ago

Got it. Thank you very much for the clarification

Сб, 29 янв. 2022 г. в 18:41, Guillaume Leclerc @.***>:

Hello,

Unfortunately this is beyond our control. Colab only works with python 3.7.2 and FFCV requires at least 3.8. There is no change we could do to support 3.7 because multiprocessing.shared_memory was released as part of the standard library for python 3.8 As soon as Colab updates to 3.8 you should re-open this issue and we will provide an example

— Reply to this email directly, view it on GitHub https://github.com/libffcv/ffcv/issues/118#issuecomment-1024934240, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXQUOSS3A37QIVETZZC5PFTUYQDCPANCNFSM5NC5LUFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

1ucky40nc3 commented 1 year ago

It seems that colab has switched to python=3.8.15. Here is a gist and a screenshot: image