'How to install opencv python on M1 mac WITHOUT using an environment?

I've recently switched to an M1 Mac, and I need to be able to install opencv, and while there are many guides for installing it with an environment, I need to be able to use it without activating an environment each time. I've been following this guide and trying to adapt the instructions to work without a conda environment, but I've been getting make: *** [all] Error 2 in the make step. I have no experience with building my own libraries from source, so I may be making an error here, but how can I build this so that it installs without an environment?



Solution 1:[1]

have you tried just installing it with pip? pip install opencv-python

there should also be some compiled installers for mac.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 tenshiman