1. yum install numpy opencv*
2. export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages
这两步之后,import cv2就可以了
本文共 172 字,大约阅读时间需要 1 分钟。
1. yum install numpy opencv*
2. export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.6/site-packages
这两步之后,import cv2就可以了
转载于:https://www.cnblogs.com/kisstea/p/5239321.html