numpy.dtype size changed, may indicate binary incompatibility
ImportError: numpy.core.multiarray failed to import
AttributeError: ‘module’ object has no attribute ‘LINE_AA’
- http://answers.opencv.org/question/102368/python-sample-script-error-attributeerror-module-object-has-no-attribute-line_aa-opencv-31-python-279/
- Reinstall OpenCV (3)
- git clone https://github.com/opencv/opencv.git
- cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D BUILD_NEW_PYTHON_SUPPORT=ON -D BUILD_EXAMPLES=ON ..
- sudo make
- sudo make install
- sudo apt-get install python-opencv
- https://docs.opencv.org/3.4.1/d2/de6/tutorial_py_setup_in_ubuntu.html
Six issue when installing package
- pip install —ignore-installed six