'CV_LOAD_IMAGE_GRAYSCALE' is not defined{PY}
don't ask SO, learn to help yourself:
>>> import cv2
>>> help(cv2)
...
IMREAD_ANYCOLOR = 4
IMREAD_ANYDEPTH = 2
IMREAD_COLOR = 1
IMREAD_GRAYSCALE = 0 #that will be it ;)
IMREAD_LOAD_GDAL = 8
IMREAD_UNCHANGED = -1
...
VERSION
3.0.0-dev
( CV_LOAD_IMAGE_GRAYSCALE is from the outdated [and now removed] cv api )
In OpenCV 3.1 for C++ you have to use cv::ImreadModes::IMREAD_GRAYSCALE
which is located on <opencv2/imgcodecs.hpp>