Skip to content

Conversation

@SzabolcsGergely
Copy link
Contributor

@SzabolcsGergely SzabolcsGergely commented Jul 22, 2021

Skip opencv-python install on jetson, since it would crash with illegal instruction

@SzabolcsGergely SzabolcsGergely force-pushed the arm64_dependency_fix branch 2 times, most recently from 1acca28 to 849b5ce Compare July 23, 2021 00:20
@themarpe
Copy link
Collaborator

Does it otherwise reinstall the existing opencv on Jetson?

@SzabolcsGergely
Copy link
Contributor Author

Does it otherwise reinstall the existing opencv on Jetson?

It doesn't remove the vanilla opencv, but it takes precedence.
In order to remove the new install one needs to do: python3 -m pip uninstall opencv-python AND python3 -m pip remove opencv-python IIRC. otherwase fails with illegal instruction.
Unless OPENBLAS_CORE_TYPE env variable is set to armv8. (Didn't test this one on the very latest jetson though)

@themarpe
Copy link
Collaborator

Can we check if already installed and if not still install it but leave a huge warning related to OPENBLAS_CORE_TYPE env var?
Just to still install everything needed on systems where opencv-python isn't preinstalled

@SzabolcsGergely
Copy link
Contributor Author

Can we check if already installed and if not still install it but leave a huge warning related to OPENBLAS_CORE_TYPE env var?
Just to still install everything needed on systems where opencv-python isn't preinstalled

Will reinstall latest jetson these days on nano and test it out, then update this PR

@SzabolcsGergely
Copy link
Contributor Author

Ran on clean install "as it is" and also with manually installed opencv-python, but without OPENBLAS_CORE_TYPE set.

@SzabolcsGergely SzabolcsGergely merged commit 13f3d68 into main Oct 13, 2021
@SzabolcsGergely SzabolcsGergely deleted the arm64_dependency_fix branch October 13, 2021 23:28
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.

3 participants