Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bcrypt wheel fix and sklearn from pip #507

Merged
merged 1 commit into from
Mar 10, 2023
Merged

Conversation

roflcoopter
Copy link
Owner

This PR fixes two problems with the wheels:

  • Wheel builds are currently broken due to bcrypt not having prebuilt wheels for all architectures, and it requires Rust to build from source.
  • Install sklearn from pip instead of apt, since there is a dependency issue between numpy and sklearn from apt.
    Installing sklearn from pip introduces another problem, there are no prebuilt wheels for armv7l (rpi3) and python 3.8.
    Building sklearn from source takes around 10 hours, which makes it impossible to do this via Azure.
    The workaround is the build the rpi3-sklearn Docker container locally, and push to Docker Hub.
    rpi3-sklearn is then used as the base for rpi3-wheels

Closes #473

@netlify
Copy link

netlify bot commented Mar 10, 2023

Deploy Preview for viseron canceled.

Name Link
🔨 Latest commit 9f3c886
🔍 Latest deploy log https://app.netlify.com/sites/viseron/deploys/640b3486d5a6550008cd2f98

@roflcoopter roflcoopter merged commit 593ab4c into dev Mar 10, 2023
@roflcoopter roflcoopter mentioned this pull request Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dlib facial recognition not working & preventing GUI restart of Viseron
1 participant