[英]Issue : Installing Opencv and python 2.7.5 on Mac
我正在嘗試在MacO上安裝OpenCV,我正在關注本教程http://www.jeffreythompson.org/blog/2013/08/22/update-installing-opencv-on-mac-mountain-lion/
當我達到這一點時,我得到了這個錯誤
$ brew install opencv
opencv: Unsatisfied dependency: numpy
External Python cannot `import numpy`. Install with:
pip-2.7 install numpy
Error: An unsatisfied requirement failed this build.
我使用我也使用過的https://github.com/fonnesbeck/ScipySuperpack安裝了NumPy:
$ git clone https://github.com/numpy/numpy.git
$ git clone https://github.com/scipy/scipy.git
$ cd numpy
$ python setup.py build && python setup.py install
$ brew install gfortran
$ cd ../scipy
$ python setup.py build && python setup.py install
當我去安裝OpenCV時遇到了這個問題:
$ brew install opencv
opencv: Unsatisfied dependency: numpy
External Python cannot `import numpy`. Install with:
pip-2.7 install numpy
但我仍然遇到同樣的問題
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.