我已經從源代碼和運行import cv2
後安裝OpenCV3我得到的錯誤:如何在進口CV2解決導入錯誤不卸載
ImportError: dlopen(/Users/Victor/.virtualenvs/cv/lib/python3.5/cv2.so, 2): Symbol not found: _PyCObject_Type
Referenced from: /Users/Victor/.virtualenvs/cv/lib/python3.5/cv2.so
Expected in: flat namespace
in /Users/Victor/.virtualenvs/cv/lib/python3.5/cv2.so
我真的想這樣做,而不必重新安裝OpenCV的,因爲我不想要再次通過。如果它有所幫助,我在我的路上PYTHONPATH="/usr/local/Cellar/python3/3.5.1/"