![]() Sym-link OpenCV 4 on macOS to virtual environment site-packages: % mdfind cv2.cpython 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |