
Install conda using the Anaconda or miniconda installers or the miniforge installers (no administrator permission required for any of those).


D PYTHON3_EXECUTABLE=./miniforge/base/envs/TestOpenCv/bin/python3 \ D OPENCV_EXTRA_MODULES_PATH=./opencv_contrib-4.5.0/modules \ % pip install -upgrade -no-dependencies -force numpy-1.18.5-cp38-cp38-macosx_11_0_arm64.whl Installing Miniforge: brew install miniforgeĬreate Python environment in Conda: conda create -name conda activate conda install -y python=3.8.6 Open Terminal on mac and run the following commands:Īpple command line tools installation: sudo xcodebuild -license sudo xcode-select -installīrew installation: /usr/bin/ruby -e "%(curl -fsSL )" nano ~/.zshrc export PATH=$PATH:/opt/homebrew/bin source ~/.zshrc So while watching it, you can use the needed commands.

I have explained all the steps in this video tutorial.
