简体   繁体   中英

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?

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

there should also be some compiled installers for mac.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM