piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Missing package: opencv-contrib-python #288

Closed parviza9999 closed 2 years ago

parviza9999 commented 2 years ago

Package name

opencv-contrib-python

Package version

4.1.0.25

PyPI URL

https://pypi.org/project/opencv-contrib-python/

piwheels URL

https://www.piwheels.org/project/opencv-contrib-python/

Python version

I am the maintainer

More information

No response

bennuttall commented 2 years ago

Looks like it ran out of memory - I'll try and build offline

bennuttall commented 2 years ago

I've built the latest two versions, and they're now available.

But I've just noticed you asked for a much older version, which came out 3 years ago. We have builds for that version for Stretch and Buster but not Bullseye because Bullseye wasn't out then. It's not available because there's no sdist on PyPI and we built it from GitHub sources but we're not doing that retrospectively old releases for a new OS.

Please use one of the new versions which is now available.

parviza9999 commented 2 years ago

Does TF still work on pi 4 with latest OS? I'm trying to run a python code that detects facial emotions using prebuilt model that requires pip install tensor flow and running into error.

On Sun, Feb 20, 2022, 11:36 AM Ben Nuttall @.***> wrote:

Closed #288 https://github.com/piwheels/packages/issues/288.

— Reply to this email directly, view it on GitHub https://github.com/piwheels/packages/issues/288#event-6107554736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJCE3SJHIA5MNMK67V2NB3U4ERBDANCNFSM5OWUUJLA . 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: @.***>

bennuttall commented 2 years ago

The versions of TF we have wheels for work on the Pi 4, but we don't have any 2.x versions as Google don't release them for Pi any more.

themarpe commented 1 year ago

Hi @bennuttall

Latest two versions 4.6.0.66 and 4.5.5.64 seem to also fail building, with out of memory error.

Have you perhaps considered utilizing some sort of swap to just slightly increase the memory availability for builds? This seems to be a recurring issue and as soon as project uses a tad more complex bindings it hits such requirements.